diff --git "a/28\345\256\213\345\256\210\344\270\200/0602-\347\231\273\345\275\225\346\263\250\345\206\214.md" "b/28\345\256\213\345\256\210\344\270\200/0602-\347\231\273\345\275\225\346\263\250\345\206\214.md" new file mode 100644 index 0000000000000000000000000000000000000000..68af1551a8c92bae91f21f9f18b03ffee72d73c0 --- /dev/null +++ "b/28\345\256\213\345\256\210\344\270\200/0602-\347\231\273\345\275\225\346\263\250\345\206\214.md" @@ -0,0 +1,303 @@ +#### 登陆界面#1 + + + +```asp +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %> + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + +
+ 用户名: + + +
+ 密码: + + +
+ + + +
+ + +
+
+ + + +``` + +#### #2 + +```c# +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace WebApplication1 +{ + public partial class WebForm2 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + + protected void Button1_Click(object sender, EventArgs e) + { + if (TextBox1.Text == "") + { + Response.Write(""); + } + if (TextBox2.Text == "") + { + Response.Write(""); + } + } + protected void Button2_Click(object sender, EventArgs e) + { + Response.Redirect("~/WebForm1.aspx"); + } + } + +} +``` + + + +#### 注册#1 + + + +```asp +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %> + + + + + + + + + + + + +
+
+

用户注册

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+    + 用户名: + + + + +
+     + 密码: + + + + +
+ 密码确认: + + + + +
+ 密保问题: + + + + + + +
+ + + + + +
+ 密保答案: + + + + +
+     + 邮箱: + + + + +
+ 联系电话: + + + + +
+     + 性别: + + + + + + + +
+     + 专业: + + + + + + + + + + + +
+     + 爱好: + + + + + + + + + + + +
+     + 头像: + + + +
+ 自我介绍: + + + + +
+ + + + +    + +
+
+
+ + + +``` +