Author: trivedimca | Posted on: 4/8/2010 6:24:24 AM | Views : 289

Hi All,
I have developed a application in asp.net with C#. There is small registeration form that takes all the basic details of a customer with BirthDate.
Problem is that  I am storing Birth date in sql server in Datetime column. by converting the value using " Convert.ToDateTime "
ex:-   Convert.ToDateTime (txtDate.text );
it is working fine in my pc. and also the client pc it working fine. But when I check it on different PC ( after deploying on different PC ) then on some pc it give error " Date Time Conversion Problem. ".
and when I change the format of Date time using control panel it working fine.
But It is not good to change the date-time setting format of server in control panel. Please guide me how to soulve it.
Thanks and Regards.
Prashant Trivedi.
...

Go to the complete details ...