ASP.Net MySql Date time conflict resolution

Add this line on your page tag   Culture="pl-PL"

this is yyyy-MM-dd format default used by mysql database for date time..

Now use any date format string in your page like DataFormatString="{0:d.M.yyyy}"  or .Tosting("mm/dd/y")

ultimately internal date time will be compatible with mysql connection.

link to a good resource on culture info

-vinod kotiya


Most Viewed Post

solution for facebook waiting

Connect Sony XPLOD MEX-BT2500 Bluetooth CD Receiver with ur mobile

Crystal Report : Show data horizontally (Left to right) i.e. columns as rows