Posted on: 12/18/2014 7:09:12 AM | Views : 398

anyone can help.. i need this format date as:
12/18/2014 10:04 AM
in my code behind i have this code:
DateTime dfrom = Convert.ToDateTime(dtcheck.Rows[i]["datefrom"].ToString()); DateTime dto = Convert.ToDateTime(dtcheck.Rows[i]["dateto"].ToString()); string ldatefrom = string.Format("{0:MM/dd/yyyy HH:mm:ss tt}", dfrom); string ldatetoto = string.Format("{0:MM/dd/yyyy HH:mm:ss tt}", dto);
count = _HRwcf.InsertDate(Convert.ToDateTime(ldatefrom),  Convert.ToDateTime(ldatetoto));
the error is not inserting to the HRwcf.InsertDate

Go to the complete details ...