输入在文本框的值怎么用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 + "')";
delete from table1 where a=1 and b=2 and c=3