-
Posts
9 -
Joined
-
Last visited
Reputation Activity
-
Postremus reacted to Shammikit in Is there anything wrong in my insert query?
u were right, one of my variables were null. thanks for helping out
-
Postremus got a reaction from Shammikit in Is there anything wrong in my insert query?
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