Convert Datetime

By nithyakumar nithyakumar Points: 60 | Level: Starter | Status: [Member]
Posted on: 5/27/2013 8:45:33 AM | Views: 812 | Points: 30
am getting error is "String was not recognized as a valid DateTime."
how to convert datetime to through database to c# page

Rajesh's Advice on Wednesday, June 26, 2013 :

Please post this in the tech forum.  This place is restricted to career advice queries.  Thanks.

Note for Nithyakumar : You can respond to this advice by logging into the website.

Comments or Responses

Posted by: Chinna568 on: 6/27/2013 | Level:Starter | Status: [Member] | Points: 25
Hello Nithyakumar,

Make sure your Database Table column is DATETIME datatype, or your binding Invalid Text to "birthdate.Text" which is not valid datetime

Login to post response

Disclaimer: Reply given to your question by our expert panels are based on their personal experience who have been successful in their career or are well acquainted in the role they are/were playing. This may or may not be suitable in a specific circumstances, please consider this as an advice that may help you carve your career. DotNetFunda.Com or its expert panel members will not be responsible for loss of any kind because of any decision you take based on these advices.