- 140
- 0
- 约3.5万字
- 约 55页
- 2021-08-08 发布于江苏
- 举报
1
1.登陆界面
if(dr.HasRows){uacc
if(dr.HasRows)
{
uacc=this.useracctxt.Text;
upsw=this.pswtxt.Text;
uname=dru[name].ToString();
主要代码:
publicpartialclassLoginForm:Form{publicstaticstringuacc;publicstaticstringupsw;publicstaticstringuname;publicstaticstringusex;publicstaticstringupart;publicstaticstringuright;
publicLoginForm()
{
InitializeComponent();
}
privatevoidloginbtn_Clicko(bjectsender,EventArgse)
{
if(this.useracctxt.Text.Trim()==this.pswtxt.Text==)
{
}
try
{
MessageBox.Show(请输入您的用户名和密码!,提示!);return;
stringsql;
sql=select*fromtb_userwhereuacc=+this.useracctxt.Text+andupsw=
+this.pswtxt.Text
您可能关注的文档
最近下载
- GBT 31458-2026医院安全防范要求学习与解读.pptx VIP
- 牛羊屠宰兽医卫生检验人员理论题库及答案 (2025 版).docx VIP
- 牛羊屠宰兽医卫生检验人员考试题库及答案解析(最新版).docx VIP
- 牛羊屠宰兽医卫生检验人员考试题库及答案解析(最新版).docx VIP
- ISO 9001(FDIS)-2026《质量管理体系——要求》(中文版-雷泽佳译-2026年6月).pdf VIP
- 《公安机关实施保安服务管理条例办法》培训与解读课件.pptx VIP
- 标准图集-04S531-4-湿陷性黄土地区给水阀门井.pdf VIP
- 数字私力与网联物的占有保护机制研究.docx VIP
- 水利工程深基坑开挖与支护专项施工方案.docx
- 宁夏大学2024-2025学年第1学期《高等数学(上)》期末考试试卷(A卷)附参考答案.pdf
原创力文档

文档评论(0)