int day = System.DateTime.Now.Date.AddDays(2).Day; int month = System.DateTime.Now.Date.Month; int year = System.DateTime.Now.Date.Year; ddlDay.Items.FindByValue(day.ToString()).Selected = true; ddlMonth.Items.FindByValue(month.ToString()).Selected = true; ddlYear.Items.FindByValue(year.ToString()).Selected = true;
DateTime today = DateTime.Now.Date; DateTime tomorrow = today.AddDays(1);
tomorrow.Day
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)