Posted on: 9/17/2012 3:34:49 AM | Views : 248

Hi Guys,
this is what i wrote.
DateTime _sprintstart; _sprintstart = Convert.ToDateTime(HttpUtility.HtmlDecode(gvr.Cells[2].Text)); grpemp.Sprint_StartDate = DateTime.Parse(_sprintstart.ToString("MM/dd/yyyy")); DateTime _sprintend; _sprintend = Convert.ToDateTime(HttpUtility.HtmlDecode(gvr.Cells[3].Text)); grpemp.Sprint_EndDate = DateTime.Parse(_sprintend.ToString("MM/dd/yyyy")); Here i want to convert this to MM/dd/yyyy like 05/30/2012
in my db its datatype is Date. And 
grpemp.Sprint_EndDate its datatype is Date. When ever i am inserting getting an error.


...

Go to the complete details ...