From f8c5f04aaff002622b9ff37aa46ec3abb7dbf318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E5=AE=88=E4=B8=80?= <3226562056@qq.com> Date: Sun, 5 Jun 2022 15:50:43 +0000 Subject: [PATCH] 1 --- ...73\345\275\225\346\263\250\345\206\214.md" | 303 ++++++++++++++++++ 1 file changed, 303 insertions(+) create mode 100644 "28\345\256\213\345\256\210\344\270\200/0602-\347\231\273\345\275\225\346\263\250\345\206\214.md" 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 0000000..68af155 --- /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" %> + + + + + + + + + + + + +
+
+

用户注册

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