日期:2014-05-16 浏览次数:21208 次
string number="2110601";//学号 string str="select password from student where Number="+number;//Number字段为数字 string str="select password from student where Number='"+number+"'";//Number字段为字符串