更新时间:2022-06-24 03:07:07
对于下面给出的行,您缺少@符号。不知道这是不是确切的原因,但微软有时会因为简单的错误而抛出奇怪的错误消息! :)
For the given below line you are missing the "@" symbol. Don't know if this is the exact reason, but Microsoft sometime throws strange error messages for simple errors!!!! :)
SqlParameter EVD_No = new SqlParameter("EVD_No", objRetailer.EVD_No);
尝试摆脱你的数组并逐个添加你的SqlParameters;这肯定会更加可调试。
除非你没有显示某些代码,否则数组的使用不会在这里提供任何附加价值;它只会使调试更难。
Try to get rid of your array and add your SqlParameters one by one ; this will, for sure, be much more debuggable.
Unless there's some code you do not show, the use of the array does not provide any added value here ; it just makes the debugging harder.