在用sqlcommand插入数据是写了个sql语句
string sqlstr1 = "insert into [userinfo](userid,email,borth,question,answer,homephone,movephone,address,youbian,sex,shenfenzhenghao) values('" + userid + "','" + TextBox5.Text + "','" + TextBox8.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox9.Text + "','" + TextBox10.Text + "','" + TextBox11.Text + "','" + TextBox12.Text + "','" + sexy + "','" + TextBox13.Text + "')";
运行提示
将截断字符串或二进制数据。
语句已终止。

无语。。。

相关文章:

  • 2022-12-23
  • 2022-01-18
  • 2022-01-24
  • 2021-06-07
  • 2022-02-11
  • 2021-10-11
  • 2021-11-23
  • 2021-06-02
猜你喜欢
  • 2021-11-07
  • 2022-12-23
  • 2022-02-17
  • 2021-08-19
  • 2021-11-29
  • 2021-11-26
相关资源
相似解决方案