Ruchi R

Ruchi R

  • NA
  • 112
  • 266.7k

Increment date

Sep 15 2011 2:17 AM
HI everyone,



string enddate = dgv.CurrentRow.Cells["Date"].Value.ToString();

I have taken date from data grid view as given above. Now i need to write a update query where i need to update the enddate by 1 month and 15 days according to the condition. Therefore could you please tell me how to increment the date.

Answers (4)