web开发中的sql语句
mainThesisCommand.CommandText = "update thesisSet set MAINSELECTED=true where THESISNAME="+lblSelMain.Text; 为什么老是提示“至少一个参数没有被指定值”。跟踪时是对的啊 web开发 sql asp.net
[解决办法]
mainThesisCommand.CommandText = "update thesisSet set MAINSELECTED=true where THESISNAME='"+lblSelMain.Text + "'";