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