From 1201ca0aad86ed53b77a5c67d7853047259979c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B?= <473987350@qq.com> Date: Wed, 25 May 2022 11:55:35 +0000 Subject: [PATCH 01/10] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E5=BE=90=E7=AB=8B?= =?UTF-8?q?=E6=B4=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\345\276\220\347\253\213\346\264\213/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\345\276\220\347\253\213\346\264\213/.keep" diff --git "a/\345\276\220\347\253\213\346\264\213/.keep" "b/\345\276\220\347\253\213\346\264\213/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 87c98d60cf7340f8af2c6f39015d8b940ee21673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B?= <473987350@qq.com> Date: Wed, 25 May 2022 11:55:43 +0000 Subject: [PATCH 02/10] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B/.keep?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\345\276\220\347\253\213\346\264\213/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 "\345\276\220\347\253\213\346\264\213/.keep" diff --git "a/\345\276\220\347\253\213\346\264\213/.keep" "b/\345\276\220\347\253\213\346\264\213/.keep" deleted file mode 100644 index e69de29..0000000 -- Gitee From 782b2d8e396e7bf548dbdd318a32a797bf52c527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B?= <473987350@qq.com> Date: Wed, 25 May 2022 11:55:56 +0000 Subject: [PATCH 03/10] =?UTF-8?q?=E6=96=B0=E5=BB=BA=2001=E5=BE=90=E7=AB=8B?= =?UTF-8?q?=E6=B4=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "01\345\276\220\347\253\213\346\264\213/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "01\345\276\220\347\253\213\346\264\213/.keep" diff --git "a/01\345\276\220\347\253\213\346\264\213/.keep" "b/01\345\276\220\347\253\213\346\264\213/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From c570655a79f4cf99e9e5a57a0e6c2deda02edb87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B?= <473987350@qq.com> Date: Wed, 25 May 2022 12:03:57 +0000 Subject: [PATCH 04/10] 1 1 --- .../WebForm1.aspx" | 38 +++++++++++++ .../WebForm1.aspx.cs" | 57 +++++++++++++++++++ .../WebForm2.aspx" | 16 ++++++ .../WebForm2.aspx.cs" | 34 +++++++++++ 4 files changed, 145 insertions(+) create mode 100644 "01\345\276\220\347\253\213\346\264\213/WebForm1.aspx" create mode 100644 "01\345\276\220\347\253\213\346\264\213/WebForm1.aspx.cs" create mode 100644 "01\345\276\220\347\253\213\346\264\213/WebForm2.aspx" create mode 100644 "01\345\276\220\347\253\213\346\264\213/WebForm2.aspx.cs" diff --git "a/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx" "b/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx" new file mode 100644 index 0000000..94e8370 --- /dev/null +++ "b/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx" @@ -0,0 +1,38 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %> + + + + + + + + + +
+
+ + + + + + + + + + + + + +
用户名: + +
密码: + +
+ + + +
+
+
+ + diff --git "a/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx.cs" "b/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx.cs" new file mode 100644 index 0000000..49f6d8e --- /dev/null +++ "b/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx.cs" @@ -0,0 +1,57 @@ +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 Button1_Click(object sender, EventArgs e) + { + Button1.PostBackUrl = ""; + if (TextBox1.Text=="admin") + { + if (TextBox2.Text=="123456") + { + + Button1.PostBackUrl = "~/WebForm2.aspx"; + } + else + { + Response.Write(""); + } + } + else + { + Response.Write(""); + } + } + + protected void Button2_Click(object sender, EventArgs e) + { + if (TextBox1.Text == "admin") + { + if (TextBox2.Text == "123456") + { + Response.Redirect("WebForm2.aspx?name=" + TextBox1.Text + "&pwd=" + TextBox2.Text); + } + else + { + Response.Write(""); + } + } + else + { + Response.Write(""); + } + } + } +} \ No newline at end of file diff --git "a/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx" "b/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx" new file mode 100644 index 0000000..58d5e4d --- /dev/null +++ "b/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx" @@ -0,0 +1,16 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication2.WebForm2" %> + + + + + + + + + +
+
+
+
+ + diff --git "a/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx.cs" "b/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx.cs" new file mode 100644 index 0000000..6e6c966 --- /dev/null +++ "b/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx.cs" @@ -0,0 +1,34 @@ +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 b = Request.Params["TextBox2"]; + Response.Write($"

欢迎你,{a},你的密码是:{b}

"); + } + else + { + string c = Request.Params["name"]; + string d = Request.Params["pwd"]; + Response.Write($"

欢迎你,{c},你的密码是:{d}

"); + } + + + + } + } +} \ No newline at end of file -- Gitee From 391d931d521d49c62f2d16b7ad4b63fc5998ed04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B?= <473987350@qq.com> Date: Wed, 25 May 2022 12:04:20 +0000 Subject: [PATCH 05/10] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2001?= =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B/WebForm1.aspx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WebForm1.aspx" | 38 ------------------- 1 file changed, 38 deletions(-) delete mode 100644 "01\345\276\220\347\253\213\346\264\213/WebForm1.aspx" diff --git "a/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx" "b/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx" deleted file mode 100644 index 94e8370..0000000 --- "a/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx" +++ /dev/null @@ -1,38 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %> - - - - - - - - - -
-
- - - - - - - - - - - - - -
用户名: - -
密码: - -
- - - -
-
-
- - -- Gitee From b83c3a171bdba61311e6dedd6eb76c7bfbab84f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B?= <473987350@qq.com> Date: Wed, 25 May 2022 12:04:27 +0000 Subject: [PATCH 06/10] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2001?= =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B/WebForm1.aspx.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WebForm1.aspx.cs" | 57 ------------------- 1 file changed, 57 deletions(-) delete mode 100644 "01\345\276\220\347\253\213\346\264\213/WebForm1.aspx.cs" diff --git "a/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx.cs" "b/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx.cs" deleted file mode 100644 index 49f6d8e..0000000 --- "a/01\345\276\220\347\253\213\346\264\213/WebForm1.aspx.cs" +++ /dev/null @@ -1,57 +0,0 @@ -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 Button1_Click(object sender, EventArgs e) - { - Button1.PostBackUrl = ""; - if (TextBox1.Text=="admin") - { - if (TextBox2.Text=="123456") - { - - Button1.PostBackUrl = "~/WebForm2.aspx"; - } - else - { - Response.Write(""); - } - } - else - { - Response.Write(""); - } - } - - protected void Button2_Click(object sender, EventArgs e) - { - if (TextBox1.Text == "admin") - { - if (TextBox2.Text == "123456") - { - Response.Redirect("WebForm2.aspx?name=" + TextBox1.Text + "&pwd=" + TextBox2.Text); - } - else - { - Response.Write(""); - } - } - else - { - Response.Write(""); - } - } - } -} \ No newline at end of file -- Gitee From 37b9516a8fd2853754e1c7c8e8fac9a2634a2440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B?= <473987350@qq.com> Date: Wed, 25 May 2022 12:04:43 +0000 Subject: [PATCH 07/10] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2001?= =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B/WebForm2.aspx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WebForm2.aspx" | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 "01\345\276\220\347\253\213\346\264\213/WebForm2.aspx" diff --git "a/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx" "b/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx" deleted file mode 100644 index 58d5e4d..0000000 --- "a/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx" +++ /dev/null @@ -1,16 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication2.WebForm2" %> - - - - - - - - - -
-
-
-
- - -- Gitee From c64c3fff913c86f74f8c1f1543a4ff34ed50a23e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B?= <473987350@qq.com> Date: Wed, 25 May 2022 12:04:51 +0000 Subject: [PATCH 08/10] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2001?= =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B/WebForm2.aspx.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WebForm2.aspx.cs" | 34 ------------------- 1 file changed, 34 deletions(-) delete mode 100644 "01\345\276\220\347\253\213\346\264\213/WebForm2.aspx.cs" diff --git "a/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx.cs" "b/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx.cs" deleted file mode 100644 index 6e6c966..0000000 --- "a/01\345\276\220\347\253\213\346\264\213/WebForm2.aspx.cs" +++ /dev/null @@ -1,34 +0,0 @@ -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 b = Request.Params["TextBox2"]; - Response.Write($"

欢迎你,{a},你的密码是:{b}

"); - } - else - { - string c = Request.Params["name"]; - string d = Request.Params["pwd"]; - Response.Write($"

欢迎你,{c},你的密码是:{d}

"); - } - - - - } - } -} \ No newline at end of file -- Gitee From d1fdf505ab3747ff78e63912e815a878081c5f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B?= <473987350@qq.com> Date: Wed, 25 May 2022 12:05:05 +0000 Subject: [PATCH 09/10] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E7=AC=AC=E5=9B=9B?= =?UTF-8?q?=E7=AB=A0=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/.keep" diff --git "a/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/.keep" "b/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From 29b87a9e30d15de19845f88a5ed416ffe4a0abcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E7=AB=8B=E6=B4=8B?= <473987350@qq.com> Date: Wed, 25 May 2022 12:05:56 +0000 Subject: [PATCH 10/10] 1 1 --- .../WebForm1.aspx" | 38 +++++++++++++ .../WebForm1.aspx.cs" | 57 +++++++++++++++++++ .../WebForm2.aspx" | 16 ++++++ .../WebForm2.aspx.cs" | 34 +++++++++++ 4 files changed, 145 insertions(+) create mode 100644 "01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm1.aspx" create mode 100644 "01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" create mode 100644 "01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm2.aspx" create mode 100644 "01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm2.aspx.cs" diff --git "a/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm1.aspx" "b/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm1.aspx" new file mode 100644 index 0000000..94e8370 --- /dev/null +++ "b/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm1.aspx" @@ -0,0 +1,38 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %> + + + + + + + + + +
+
+ + + + + + + + + + + + + +
用户名: + +
密码: + +
+ + + +
+
+
+ + diff --git "a/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" "b/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" new file mode 100644 index 0000000..49f6d8e --- /dev/null +++ "b/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" @@ -0,0 +1,57 @@ +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 Button1_Click(object sender, EventArgs e) + { + Button1.PostBackUrl = ""; + if (TextBox1.Text=="admin") + { + if (TextBox2.Text=="123456") + { + + Button1.PostBackUrl = "~/WebForm2.aspx"; + } + else + { + Response.Write(""); + } + } + else + { + Response.Write(""); + } + } + + protected void Button2_Click(object sender, EventArgs e) + { + if (TextBox1.Text == "admin") + { + if (TextBox2.Text == "123456") + { + Response.Redirect("WebForm2.aspx?name=" + TextBox1.Text + "&pwd=" + TextBox2.Text); + } + else + { + Response.Write(""); + } + } + else + { + Response.Write(""); + } + } + } +} \ No newline at end of file diff --git "a/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm2.aspx" "b/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm2.aspx" new file mode 100644 index 0000000..58d5e4d --- /dev/null +++ "b/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm2.aspx" @@ -0,0 +1,16 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication2.WebForm2" %> + + + + + + + + + +
+
+
+
+ + diff --git "a/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm2.aspx.cs" "b/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm2.aspx.cs" new file mode 100644 index 0000000..6e6c966 --- /dev/null +++ "b/01\345\276\220\347\253\213\346\264\213/\347\254\254\345\233\233\347\253\240\344\275\234\344\270\232/WebForm2.aspx.cs" @@ -0,0 +1,34 @@ +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 b = Request.Params["TextBox2"]; + Response.Write($"

欢迎你,{a},你的密码是:{b}

"); + } + else + { + string c = Request.Params["name"]; + string d = Request.Params["pwd"]; + Response.Write($"

欢迎你,{c},你的密码是:{d}

"); + } + + + + } + } +} \ No newline at end of file -- Gitee