hi,
in my web application i am getting date values from sql server database and store in the datatable.
it works fine when i use the US culture. But when i change the culture to british i am getting the error.
String was not recognized as a valid DateTime.Couldn 't store <22/02/08> in dt1 Column. Expected type is DateTime.
Any one please can help me?
i directly fill the data to the datatable by a select statement.
Thanks in Advance.
Regards,
Dhanasekaran. G
in my web application i am getting date values from sql server database and store in the datatable.
it works fine when i use the US culture. But when i change the culture to british i am getting the error.
String was not recognized as a valid DateTime.Couldn 't store <22/02/08> in dt1 Column. Expected type is DateTime.
Any one please can help me?
i directly fill the data to the datatable by a select statement.
Thanks in Advance.
Regards,
Dhanasekaran. G
Comment