Hi
I have a Windows Forms single threaded application in which i have set the CurrentCulture and CurrentCultureUI to en-GB.
UK dates are input dd/mm/yy but for some reason my datatable that takes a datetime only accepts the us format of mm/dd/yy. I have even tried specifically setting the datatable locale and even my datetimepicker control outputs values in uk format but i keep getting a "string was not recognized as a valid datetime error"
Any help appreciated.
thanks
I have a Windows Forms single threaded application in which i have set the CurrentCulture and CurrentCultureUI to en-GB.
UK dates are input dd/mm/yy but for some reason my datatable that takes a datetime only accepts the us format of mm/dd/yy. I have even tried specifically setting the datatable locale and even my datetimepicker control outputs values in uk format but i keep getting a "string was not recognized as a valid datetime error"
Any help appreciated.
thanks