C#模拟登录
摘要:
1.自己设计的一个登录页面,两个TextBox(txtName,txtPwd)框和一个Button,Button事件中设置( protected void Button1_Click(object sender, EventArgs e) { if (txtName.Text == "fxl" && txtPwd.Text == "123") { Response.Redirect("Main.aspx"); } })2.添加一个控制台程序:using System;using System.Collections.G 阅读全文
posted @ 2013-04-25 11:55 HOT SUMMER 阅读(383) 评论(0) 推荐(0)
浙公网安备 33010602011771号