一个sql语句查询表里的数据 然后 int count=(int)command.ExecuteScalar();//执行语句 //如果找到一个,就通过 if(count==1){ MessageBox.Show("登录成功"); }
111,126
社区成员
642,540
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧