Invalid column name sql error

后端 未结 11 1240
梦毁少年i
梦毁少年i 2020-11-30 03:16

I am trying to enter data into my database, but it is giving me the following error:

Invalid column name

Here\'s my code

<
11条回答
  •  旧时难觅i
    2020-11-30 04:05

    You have to use '"+texbox1.Text+"','"+texbox2.Text+"','"+texbox3.Text+"'

    Instead of "+texbox1.Text+","+texbox2.Text+","+texbox3.Text+"

    Notice the extra single quotes.

提交回复
热议问题