一直提示文本中的字符太多,无效的表达式,常量中有换行符,求达人解答
cmd.CommandText="insertintotb_Users(NAME,PASSWORD,PASSWORD1,PWDQ,PWDA,SEXUALITY,AGE,T...
cmd.CommandText="insert into tb_Users(NAME,PASSWORD,PASSWORD1,PWDQ,PWDA,SEXUALITY,AGE,TRUENAME,E-mail,Contact Information)values('"+this.name.Text+"','"+this.password.Text+"','"+this.password1.Text+"',
'"+this.pwdq.Text+"', '"+this.pwda.Text+"','"+this.sexuality.Text+"','"+this.age.Text+"','"+this.truename.Text+"','"+this.mail.Text+"','"+this.lianxifangshi.Text+"')";
cmd.ExecuteNonQuery(); 展开
'"+this.pwdq.Text+"', '"+this.pwda.Text+"','"+this.sexuality.Text+"','"+this.age.Text+"','"+this.truename.Text+"','"+this.mail.Text+"','"+this.lianxifangshi.Text+"')";
cmd.ExecuteNonQuery(); 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询