Posted on: 9/16/2015 10:34:08 PM | Views : 807

I have a strange problem in vb.net.
In this way, I have no problem converting a String to Date using ParseExact, some date format and CultureInfo:
Dim f As String = "30-mar-2012" ' Value of f is "30/03/2012" xdate = DateTime.ParseExact( f, "dd-MMM-yyyy", System.Globalization.CultureInfo.InvariantCulture) Problem begins when using a DataReader
While dr.Read Dim f As String = St ...

Go to the complete details ...