请我....你能帮我这个代码有问题和异常吗 [英] please me ....can you help me i have problem and exception in this code
问题描述
https://social.msdn.microsoft.com/Forums/getfile/925006
https://social.msdn.microsoft.com/Forums/getfile/925006
推荐答案
你好,
我们将需要查看SQL INSERT语句,因为这是引发异常的地方.还指出要在哪里创建或生成SQL.
We will need to see the SQL INSERT statement as this is where the exception is being thrown on. Also indicate where the SQL is being created or generated.
我再次查看了您的图像,似乎您正在使用IDE数据向导.通常,向导会很好地创建INSERT语句,因此问题可能出在INSERT语句中的字段名称上,由于图像太小,很难在您的情况下分辨出来. 确保您没有使用保留字或字段名称中有空格(99%的时间是非问题).
I took a second look at your image, seems you are using the IDE data wizard. Usually the wizard does a good job of creating INSERT statements so the issue may be with a field name in the INSERT statement, hard to tell in your case as the image is too small. Make sure you have not used a reserve word or have spaces in a field name (99 percent of the time this is a non-issue).
这篇关于请我....你能帮我这个代码有问题和异常吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!