计算机毕业设计前台功能介绍:
系统实现
4.1 login(系统主界面)
在IE里运行本系统,出现系统的主界面,包括系统注册与登陆。如图:
以下是引用片段:
其主要代码实现过程如下: private void LinkButton1_Click(object sender, System.EventArgs e) { if(this.RadioButton1.Checked) { //用户登陆判断其输入信息是否正确 正确调转到用户信息页面 if(DataBase.Get_Table("select * from yhxx where yhm='"+ this.TextBox1.Text +"' and mm='"+ this.TextBox2.Text +"'").Rows.Count>0) { Session["yhm"]=this.TextBox1.Text; Response.Redirect("user/index.aspx"); } else { //错误提示 Response.Write(""); return; } } if(this.RadioButton2.Checked) { //管理员登陆判断其输入信息是否正确 正确调转到管理员信息页面 if(DataBase.Get_Table("select * from gly where id='"+ this.TextBox1.Text +"' and mm='"+ this.TextBox2.Text +"'").Rows.Count>0) { Session["yhm"]=this.TextBox1.Text; Response.Redirect("Super/index.aspx"); } else { //错误提示 Response.Write(""); return; } }
|
〖资料来源:计算机毕业论文 www.xiaoniu168.com〗
第7页为计算机毕业论文用户注册页面介绍......