就是string c=" ID='2007' and class='数学'";SqlCommand cmd=new SqlCommand("select * from aa where '"+c+"'")我这样写出错.
[此贴子已经被作者于2007-10-13 16:50:16编辑过]