In windows 7 am facing the below problem, when converting datetime.
Run-time exception thrown : System.FormatException - String was not recognized as a valid DateTime.Code:?Convert.ToDateTime("7/15/2010 9:18:40 AM").ToString("dd-MMM-yyyy")
is there any error in converting.





Reply With Quote