-
-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue in SQL Server - Unable to set null value to column in db #676
Comments
Can you post more details about what you are trying to achieve? |
in react I am trying to set update value to Null in SQL Server through .NET. var json = { test: '' } -- this will save empty string using latest sql meta library for this |
Sorry @Krishna-Maiden, this is not enough to explain the issue. Could you please post the minimum reproducible steps for your issue? |
var student = { in C# it is setting empty string for gender.. and saving empty for this column. |
I have tried setting the null value like below
map[keyValuePair.Key] = DBNull.Value;
but I am receiving exception 'The member p3 of type System.DBNull cannot be used as a parameter value'
if I dont add code, its saving as 'NULL' with string datatype.. which is wrong...
The text was updated successfully, but these errors were encountered: