提示 object obj= com.ExecuteScalar();哪里出错了

2025-05-21 17:27:59
推荐回答(1个)
回答1:

string strsql = "select mima from student1 where id!=0 and xingming ='"+ name +"'";

字符串要加分号,,采纳我的答案哦