How to add 30 days in date??
I want to get date from table and then i want to add some days i.e. 30days in 25/03/2009...then how can i use??and after adding i want to add it in the table....Please help me...
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Vimal KandasamyRank #2,151 · 661 reputationPosted Mar 31, 2009, 8:36 PM EDT
to add days we can use AddDays() function...
ex:
DateTime da = DateTime.Parse("25/3/2009");
da=da.AddDays(30D);
now da = "24/4/2009"....
try it,
it may help you
kishan gajjar40 reputationPosted Mar 31, 2009, 10:52 PM EDT