输入在文本框的值怎么用Delete删除?
我是用下面的语句写的string sql = "delete from stu where '" + xh.Text + "','" + xm.Text + "','" + xb.Text + "','" + zy.Text + "','" + bj.Text + "','" + dept.Text + "')";
代码对吗?
为什么界面上显示的是没有删除啊?
求指导.........
string sql = "delete from stu where '" + xh.Text + "','" + xm.Text + "','" + xb.Text + "','" + zy.Text + "','" + bj.Text + "','" + dept.Text + "')";
2011-11-21 23:53
delete from table1 where a=1 and b=2 and c=3
2011-11-22 07:16
2011-11-22 09:03
2011-11-22 09:14
2011-11-22 09:45
2011-11-22 21:59
2011-11-26 22:07