为什么会出现用户代码未处理SqlException?

2024-12-04 20:06:16
推荐回答(1个)
回答1:

String strComm = "Select * from Users where UserName ='" + UserName.Text + "' and PassWord= '" + PassWord.Text + "'";

and 前面加个空格