发布网友 发布时间:2024-10-23 19:28
共5个回答
热心网友 时间:9分钟前
string mysql = "select * from user where userName="+"'"+UserName+"'"+"And userPwd=" + "'" + Password + " ' ";热心网友 时间:3分钟前
string mysql = "select * from user where userName="+"'"+UserName+"'"+" And userPwd=" + "'" + Password + " ' ";热心网友 时间:8分钟前
string mysql = "select * from [user] where userName="+"'"+UserName+"'"+"And userPwd=" + "'" + Password + " ' ";热心网友 时间:3分钟前
user属于sql里的关键字,所以会报错,一般不要用关键字作为表名,如果关键字做表名用[]括起来,热心网友 时间:3分钟前
string mysql = "select * from user where userName="+"'"+UserName+"'"+"And userPwd=" + "'" + Password + " ' ";