programming Is there anything wrong in my insert query?
Go to solution
Solved by Postremus,
Looks to me like the value of pos is null.
Can you please check if any of your variables is null, please?
If any of them is null, you have to insert DBNull.Value instead, see https://msdn.microsoft.com/de-de/library/system.data.sqlclient.sqlparametercollection.addwithvalue(v=vs.110).aspx
-
Featured Topics
-
Topics
-
ShadeBorderlands ·
Posted in Programs, Apps and Websites2 -
0
-
realfireguy ·
Posted in Graphics Cards5 -
AbyssSF ·
Posted in New Builds and Planning1 -
1
-
Nesy ·
Posted in Troubleshooting5 -
Ripred ·
Posted in Troubleshooting0 -
7
-
Ricardo Medina 00 ·
Posted in Peripherals1 -
2
-
-
play_circle_filled
Latest From ShortCircuit:
I tried 20 influencer foods, here are the best… and the worst…
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now