Pramod Lawate

Pramod Lawate

  • NA
  • 466
  • 232k

How to Solve Datetime Problem in IIS

Aug 26 2013 1:10 AM
hi guys i having a problem in Datetime function 
 i am using 
Visual Studio 2008 
framework 3.5 

12/09/2012 12:18:34 PM this is the exact format datetime stored in my database and i am just fire a query and get the date in my datatable like

lblDatetime.Text = System.Convert.ToString(dt.Rows[0]["Date_Time"]);

it is working well in while developing the application but once i deploy in IIS i am getting the error like string was not recognized as a valid datetime




Answers (6)