Convert age into date and date into age in #C.NET
1
Date into age
Double days = (DateTime.Now - row.Field<DateTime>("dob" ) .TotalDays;
if (days <= 31)
{
txtAge.Text = Math.Round(((DateTime.Now - row.Field<DateTime>("dob" ...