I have an asp.net application which connects to MSSQL server. I have a table column of type smalldatetime and while inserting a date it is inserting in my local sql server but when I deployed my app in cloud server it is showing that string was not
a valid datetime. In my local system it is accepting any type of date format suppose dd/MM/yyyy , dd-MM-yyyy , yyyy-MM-dd etc but in cloud sql server it is not inserting. How to resolve this problem please help.
↧