From 4cde8ffea32a6bcab4af0d2a71f7e85d33dfe566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BF=9E=E4=BC=BD?= Date: Wed, 25 May 2022 11:52:24 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=E6=96=B0=E5=BB=BA=2038=E5=8F=B7=E9=99=88?= =?UTF-8?q?=E4=BF=9E=E4=BC=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "38\345\217\267\351\231\210\344\277\236\344\274\275/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "38\345\217\267\351\231\210\344\277\236\344\274\275/.keep" diff --git "a/38\345\217\267\351\231\210\344\277\236\344\274\275/.keep" "b/38\345\217\267\351\231\210\344\277\236\344\274\275/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 363027849a949d7a94bf0969fd601989ddd870cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BF=9E=E4=BC=BD?= Date: Wed, 25 May 2022 11:53:24 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WebForm1.aspx" | 46 +++++++++++++++++++ .../WebForm1.aspx.cs" | 23 ++++++++++ .../WebForm2.aspx" | 16 +++++++ .../WebForm2.aspx.cs" | 31 +++++++++++++ 4 files changed, 116 insertions(+) create mode 100644 "38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm1.aspx" create mode 100644 "38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm1.aspx.cs" create mode 100644 "38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm2.aspx" create mode 100644 "38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm2.aspx.cs" diff --git "a/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm1.aspx" "b/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm1.aspx" new file mode 100644 index 0000000..bc952d5 --- /dev/null +++ "b/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm1.aspx" @@ -0,0 +1,46 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %> + + + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+ 用户名: + + + +
+ 密码: + + +
+ + + + +
+
+
+ + diff --git "a/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm1.aspx.cs" "b/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm1.aspx.cs" new file mode 100644 index 0000000..bafc0ee --- /dev/null +++ "b/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm1.aspx.cs" @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace WebApplication2 +{ + public partial class WebForm1 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + protected void Button2_Click(object sender, EventArgs e) + { + + Response.Redirect($"~/WebForm2.aspx?name={TextBox1.Text}&pwd={TextBox2.Text}"); + } + } +} \ No newline at end of file diff --git "a/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm2.aspx" "b/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm2.aspx" new file mode 100644 index 0000000..58d5e4d --- /dev/null +++ "b/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm2.aspx" @@ -0,0 +1,16 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication2.WebForm2" %> + + + + + + + + + +
+
+
+
+ + diff --git "a/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm2.aspx.cs" "b/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm2.aspx.cs" new file mode 100644 index 0000000..61bdd69 --- /dev/null +++ "b/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm2.aspx.cs" @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace WebApplication2 +{ + public partial class WebForm2 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + Response.Write("方式:" + Request.RequestType); + if (Request.RequestType == "POST") + { + string a = Request.Params["TextBox1"]; + string a1 = Request.Params["TextBox2"]; + Response.Write($"用户名:{a}\n密码:{a1}"); + + } + if (Request.RequestType == "GET") + { + + string name = Request.Params["name"]; + string pwd = Request.Params["pwd"]; + Response.Write("欢迎你"+name+"你的密码是"+pwd); + } + } + } +} \ No newline at end of file -- Gitee From d930b7904b96a2824c78cd929b3b594b0b5edf52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BF=9E=E4=BC=BD?= Date: Fri, 23 Sep 2022 01:18:44 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2038=E5=8F=B7?= =?UTF-8?q?=E9=99=88=E4=BF=9E=E4=BC=BD/WebForm1.aspx=20=E4=B8=BA=2038?= =?UTF-8?q?=E5=8F=B7=E9=99=88=E4=BF=9E=E4=BC=BD/1WebForm1.aspx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../1WebForm1.aspx" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm1.aspx" => "38\345\217\267\351\231\210\344\277\236\344\274\275/1WebForm1.aspx" (100%) diff --git "a/38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm1.aspx" "b/38\345\217\267\351\231\210\344\277\236\344\274\275/1WebForm1.aspx" similarity index 100% rename from "38\345\217\267\351\231\210\344\277\236\344\274\275/WebForm1.aspx" rename to "38\345\217\267\351\231\210\344\277\236\344\274\275/1WebForm1.aspx" -- Gitee