DbHelper.ExecuteNonQuery("insert into T_Users(学号,用户名,用户密码,密保问题,密保答案,ErrorTimes)values(@id,@username,@usepassword,@question,@answer,0) ", new SqlParameter("id", textBox1.Text), new SqlParameter("username", textBox2.Text), new SqlParameter("usepassword", textBox3.Text), new SqlParameter("question", textBox5.Text), new SqlParameter("answer", textBox6.Text));
解决方案 »
- 邮件群发
- 在datagridview中click事件后,如何中止selectchange?
- 字符串加解密?
- 请教这个是什么意思啊
- 。NET中如何运用hibernate
- 1到1000求和,,用两个线程实现。。。。急!!!
- 用2005的发布功能,怎么使得,生成的安装文件,在用户的电脑上安装成功后,可以在 开始--程序中找到该程序的快捷方式
- 水晶报表问题:该报表不包含表。(问题程序:★★★★★)
- System.ArgumentNullException: Value cannot be null 什么原因.
- Remotting 连接远程对象失败时,如何判断?
- 我想要一键更新 DataSet 里所有 DataTable 的数据,应该用什么方法呢~?
- 面试题,
点innerexception,看详细说明。
DbHelper.ExecuteNonQuery("insert into T_Users(学号,用户名,用户密码,密保问题,密保答案,ErrorTimes)values(@id,@username,@usepassword,@question,@answer,0) ", new SqlParameter("@id", textBox1.Text), new SqlParameter("@username", textBox2.Text), new SqlParameter("@usepassword", textBox3.Text), new SqlParameter("@question", textBox5.Text), new SqlParameter("@answer", textBox6.Text));