From 8d279a933153e32f0be7edeccf63cf35ac3d30b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E5=98=89=E9=91=AB?= <2971973423@qq.com>
Date: Mon, 23 May 2022 03:59:07 +0000
Subject: [PATCH 01/18] =?UTF-8?q?=E6=96=B0=E5=BB=BA=206=E5=8F=B7=E9=99=88?=
=?UTF-8?q?=E5=98=89=E9=91=AB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
"6\345\217\267\351\231\210\345\230\211\351\221\253/.keep" | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 "6\345\217\267\351\231\210\345\230\211\351\221\253/.keep"
diff --git "a/6\345\217\267\351\231\210\345\230\211\351\221\253/.keep" "b/6\345\217\267\351\231\210\345\230\211\351\221\253/.keep"
new file mode 100644
index 0000000..e69de29
--
Gitee
From 5e3b49224674a45a18f1a150703d4d46c6cbeaba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E9=83=81=E9=BD=90?= <2050634948@qq.com>
Date: Mon, 23 May 2022 04:04:10 +0000
Subject: [PATCH 02/18] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=206?=
=?UTF-8?q?=E5=8F=B7=E9=99=88=E5=98=89=E9=91=AB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
"6\345\217\267\351\231\210\345\230\211\351\221\253/.keep" | 0
1 file changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 "6\345\217\267\351\231\210\345\230\211\351\221\253/.keep"
diff --git "a/6\345\217\267\351\231\210\345\230\211\351\221\253/.keep" "b/6\345\217\267\351\231\210\345\230\211\351\221\253/.keep"
deleted file mode 100644
index e69de29..0000000
--
Gitee
From ef30c0243d5aef2bd83101d69db79835d0fccbdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9C=E7=8E=8B=E9=83=81=E9=BD=90=E2=80=9D?=
<“2050634948@qq.com”>
Date: Tue, 24 May 2022 21:44:28 +0800
Subject: [PATCH 03/18] =?UTF-8?q?=E7=BB=83=E4=B9=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
WebForm1.aspx.cs | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 WebForm1.aspx.cs
diff --git a/WebForm1.aspx.cs b/WebForm1.aspx.cs
new file mode 100644
index 0000000..7e916bf
--- /dev/null
+++ b/WebForm1.aspx.cs
@@ -0,0 +1,38 @@
+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 WebForm1 : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack) {
+ SqlDataSource1.SelectCommand = "select * from city where type=1 ";
+ SqlDataSource2.SelectCommand = "select * from city where type=2 and pid=2";
+ SqlDataSource3.SelectCommand = "select * from city where type=3 and pid in (select id from city where type = 2 and pid = 2)";
+ }
+
+ }
+
+ protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ SqlDataSource2.SelectCommand = "select * from city where type=2 and pid=" + DropDownList1.SelectedValue;
+ SqlDataSource3.SelectCommand = "select * from city where type=3 and pid in (select id from city where type = 2 and pid = " + DropDownList1.SelectedValue+")";
+ }
+
+ protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ SqlDataSource3.SelectCommand = "select * from city where type=3 and pid =" + DropDownList2.SelectedValue;
+ }
+
+ protected void DropDownList3_SelectedIndexChanged(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
--
Gitee
From 6440c15c4287a85c7a044f4ef0be6ba09843adca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9C=E7=8E=8B=E9=83=81=E9=BD=90=E2=80=9D?=
<“2050634948@qq.com”>
Date: Tue, 24 May 2022 21:48:52 +0800
Subject: [PATCH 04/18] =?UTF-8?q?=E7=BB=83=E4=B9=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../WebForm1.aspx.cs" | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename WebForm1.aspx.cs => "46\347\216\213\351\203\201\351\275\220/WebForm1.aspx.cs" (100%)
diff --git a/WebForm1.aspx.cs "b/46\347\216\213\351\203\201\351\275\220/WebForm1.aspx.cs"
similarity index 100%
rename from WebForm1.aspx.cs
rename to "46\347\216\213\351\203\201\351\275\220/WebForm1.aspx.cs"
--
Gitee
From 5f59b8392a37116786fd02365ba69b2696341fb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE?= <1565174779@qq.com>
Date: Sun, 29 May 2022 14:00:23 +0000
Subject: [PATCH 05/18] =?UTF-8?q?=E7=8E=8B=E6=95=99=E7=9A=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Global.asax" | 1 +
.../Global.asax.cs" | 52 +++++++++++++++++++
.../WebForm1.aspx" | 35 +++++++++++++
.../WebForm1.aspx.cs" | 33 ++++++++++++
.../WebForm2.aspx" | 17 ++++++
.../WebForm2.aspx.cs" | 31 +++++++++++
.../WebForm3.aspx" | 16 ++++++
.../WebForm3.aspx.cs" | 19 +++++++
8 files changed, 204 insertions(+)
create mode 100644 "23\346\275\230\350\276\211\350\276\276/Global.asax"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/Global.asax.cs"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm1.aspx"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm1.aspx.cs"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm2.aspx"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm2.aspx.cs"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm3.aspx"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm3.aspx.cs"
diff --git "a/23\346\275\230\350\276\211\350\276\276/Global.asax" "b/23\346\275\230\350\276\211\350\276\276/Global.asax"
new file mode 100644
index 0000000..760c31c
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/Global.asax"
@@ -0,0 +1 @@
+<%@ Application Codebehind="Global.asax.cs" Inherits="WebApplication1.Global" Language="C#" %>
diff --git "a/23\346\275\230\350\276\211\350\276\276/Global.asax.cs" "b/23\346\275\230\350\276\211\350\276\276/Global.asax.cs"
new file mode 100644
index 0000000..ac613b9
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/Global.asax.cs"
@@ -0,0 +1,52 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Security;
+using System.Web.SessionState;
+
+namespace WebApplication1
+{
+ public class Global : System.Web.HttpApplication
+ {
+
+ protected void Application_Start(object sender, EventArgs e)
+ {
+ Application.Lock();
+ Application["sum"] = 0;
+ Application["Zxsum"] = 0;
+ Application.UnLock();
+ }
+
+ protected void Session_Start(object sender, EventArgs e)
+ {
+ Application["sum"] = (int)Application["sum"] + 1;
+ Application["Zxsum"] = (int)Application["Zxsum"] + 1;
+ }
+
+ protected void Application_BeginRequest(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_AuthenticateRequest(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_Error(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Session_End(object sender, EventArgs e)
+ {
+ Application["Zxsum"] = (int)Application["Zxsum"] - 1;
+ }
+
+ protected void Application_End(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx" "b/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx"
new file mode 100644
index 0000000..17fcc92
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx"
@@ -0,0 +1,35 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx.cs" "b/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx.cs"
new file mode 100644
index 0000000..b30acda
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx.cs"
@@ -0,0 +1,33 @@
+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 WebForm1 : System.Web.UI.Page
+ {
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ protected void Button1_Click(object sender, EventArgs e)
+ {
+ string name = txt_Name.Text;
+ string pwd = txt_Pwd.Text;
+ if (name == "admin" && pwd=="123456")
+ {
+ Session["mane"] = name;
+ Session["Nowtime"] = DateTime.Now;
+ Response.Redirect("~/WebForm2.aspx");
+ }
+ else
+ {
+ Response.Write("");
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm2.aspx" "b/23\346\275\230\350\276\211\350\276\276/WebForm2.aspx"
new file mode 100644
index 0000000..d8c12fa
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/WebForm2.aspx"
@@ -0,0 +1,17 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm2.aspx.cs" "b/23\346\275\230\350\276\211\350\276\276/WebForm2.aspx.cs"
new file mode 100644
index 0000000..8d23b2d
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/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 WebApplication1
+{
+ public partial class WebForm2 : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (Session["mane"] != null)
+ {
+ Response.Write("欢迎用户" + Session["mane"] + "登录本系统!
");
+ Response.Write("您登录系统的时间为:" + Session["Nowtime"]);
+ }
+ else
+ {
+ Response.Redirect("~/WebForm1.aspx");
+ }
+ }
+
+ protected void Button1_Click(object sender, EventArgs e)
+ {
+ Session.Abandon();
+ Response.Redirect("~/WebForm1.aspx");
+ }
+ }
+}
\ No newline at end of file
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx" "b/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx"
new file mode 100644
index 0000000..d2ba5da
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx"
@@ -0,0 +1,16 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="WebApplication1.WebForm3" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx.cs" "b/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx.cs"
new file mode 100644
index 0000000..48d6dc4
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx.cs"
@@ -0,0 +1,19 @@
+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 WebForm3 : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ Response.Write($"该网站的总访问人数:{Application["sum"]}
");
+ Response.Write($"当前在线人数:{Application["Zxsum"]}");
+
+ }
+ }
+}
\ No newline at end of file
--
Gitee
From cd3b1d9a3b5058a33e292da0e0f0caf1430cef00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE?= <1565174779@qq.com>
Date: Sun, 29 May 2022 14:01:20 +0000
Subject: [PATCH 06/18] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2023?=
=?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE/Global.asax?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
"23\346\275\230\350\276\211\350\276\276/Global.asax" | 1 -
1 file changed, 1 deletion(-)
delete mode 100644 "23\346\275\230\350\276\211\350\276\276/Global.asax"
diff --git "a/23\346\275\230\350\276\211\350\276\276/Global.asax" "b/23\346\275\230\350\276\211\350\276\276/Global.asax"
deleted file mode 100644
index 760c31c..0000000
--- "a/23\346\275\230\350\276\211\350\276\276/Global.asax"
+++ /dev/null
@@ -1 +0,0 @@
-<%@ Application Codebehind="Global.asax.cs" Inherits="WebApplication1.Global" Language="C#" %>
--
Gitee
From ffe14adbf45a0e3191879d49475a54f6cc9211f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE?= <1565174779@qq.com>
Date: Sun, 29 May 2022 14:01:26 +0000
Subject: [PATCH 07/18] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2023?=
=?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE/Global.asax.cs?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Global.asax.cs" | 52 -------------------
1 file changed, 52 deletions(-)
delete mode 100644 "23\346\275\230\350\276\211\350\276\276/Global.asax.cs"
diff --git "a/23\346\275\230\350\276\211\350\276\276/Global.asax.cs" "b/23\346\275\230\350\276\211\350\276\276/Global.asax.cs"
deleted file mode 100644
index ac613b9..0000000
--- "a/23\346\275\230\350\276\211\350\276\276/Global.asax.cs"
+++ /dev/null
@@ -1,52 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using System.Web.Security;
-using System.Web.SessionState;
-
-namespace WebApplication1
-{
- public class Global : System.Web.HttpApplication
- {
-
- protected void Application_Start(object sender, EventArgs e)
- {
- Application.Lock();
- Application["sum"] = 0;
- Application["Zxsum"] = 0;
- Application.UnLock();
- }
-
- protected void Session_Start(object sender, EventArgs e)
- {
- Application["sum"] = (int)Application["sum"] + 1;
- Application["Zxsum"] = (int)Application["Zxsum"] + 1;
- }
-
- protected void Application_BeginRequest(object sender, EventArgs e)
- {
-
- }
-
- protected void Application_AuthenticateRequest(object sender, EventArgs e)
- {
-
- }
-
- protected void Application_Error(object sender, EventArgs e)
- {
-
- }
-
- protected void Session_End(object sender, EventArgs e)
- {
- Application["Zxsum"] = (int)Application["Zxsum"] - 1;
- }
-
- protected void Application_End(object sender, EventArgs e)
- {
-
- }
- }
-}
\ No newline at end of file
--
Gitee
From 8120d4c6ff59599a38a633a6e07aa357093a1433 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE?= <1565174779@qq.com>
Date: Sun, 29 May 2022 14:01:31 +0000
Subject: [PATCH 08/18] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2023?=
=?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE/WebForm1.aspx?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../WebForm1.aspx" | 35 -------------------
1 file changed, 35 deletions(-)
delete mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm1.aspx"
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx" "b/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx"
deleted file mode 100644
index 17fcc92..0000000
--- "a/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx"
+++ /dev/null
@@ -1,35 +0,0 @@
-<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>
-
-
-
-
-
-
-
-
-
-
-
-
--
Gitee
From 0961711fe6b95f031e752714f6b639fd96ae9b3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE?= <1565174779@qq.com>
Date: Sun, 29 May 2022 14:01:39 +0000
Subject: [PATCH 09/18] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2023?=
=?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE/WebForm1.aspx.cs?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../WebForm1.aspx.cs" | 33 -------------------
1 file changed, 33 deletions(-)
delete mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm1.aspx.cs"
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx.cs" "b/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx.cs"
deleted file mode 100644
index b30acda..0000000
--- "a/23\346\275\230\350\276\211\350\276\276/WebForm1.aspx.cs"
+++ /dev/null
@@ -1,33 +0,0 @@
-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 WebForm1 : System.Web.UI.Page
- {
-
- protected void Page_Load(object sender, EventArgs e)
- {
-
- }
- protected void Button1_Click(object sender, EventArgs e)
- {
- string name = txt_Name.Text;
- string pwd = txt_Pwd.Text;
- if (name == "admin" && pwd=="123456")
- {
- Session["mane"] = name;
- Session["Nowtime"] = DateTime.Now;
- Response.Redirect("~/WebForm2.aspx");
- }
- else
- {
- Response.Write("");
- }
- }
- }
-}
\ No newline at end of file
--
Gitee
From f6b16d34cb9a24b550170d9d2c8dfa77032e2e8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE?= <1565174779@qq.com>
Date: Sun, 29 May 2022 14:01:45 +0000
Subject: [PATCH 10/18] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2023?=
=?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE/WebForm3.aspx.cs?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../WebForm3.aspx.cs" | 19 -------------------
1 file changed, 19 deletions(-)
delete mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm3.aspx.cs"
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx.cs" "b/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx.cs"
deleted file mode 100644
index 48d6dc4..0000000
--- "a/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx.cs"
+++ /dev/null
@@ -1,19 +0,0 @@
-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 WebForm3 : System.Web.UI.Page
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- Response.Write($"该网站的总访问人数:{Application["sum"]}
");
- Response.Write($"当前在线人数:{Application["Zxsum"]}");
-
- }
- }
-}
\ No newline at end of file
--
Gitee
From bfc17bda665e9b2b2052b6a3fab0fd34193c3a38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE?= <1565174779@qq.com>
Date: Sun, 29 May 2022 14:01:49 +0000
Subject: [PATCH 11/18] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2023?=
=?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE/WebForm3.aspx?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../WebForm3.aspx" | 16 ----------------
1 file changed, 16 deletions(-)
delete mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm3.aspx"
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx" "b/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx"
deleted file mode 100644
index d2ba5da..0000000
--- "a/23\346\275\230\350\276\211\350\276\276/WebForm3.aspx"
+++ /dev/null
@@ -1,16 +0,0 @@
-<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="WebApplication1.WebForm3" %>
-
-
-
-
-
-
-
-
-
-
-
-
--
Gitee
From 5e72432d1b182a194bd1c5ac774e1834eb6b7ca2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE?= <1565174779@qq.com>
Date: Sun, 29 May 2022 14:01:57 +0000
Subject: [PATCH 12/18] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2023?=
=?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE/WebForm2.aspx?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../WebForm2.aspx" | 17 -----------------
1 file changed, 17 deletions(-)
delete mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm2.aspx"
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm2.aspx" "b/23\346\275\230\350\276\211\350\276\276/WebForm2.aspx"
deleted file mode 100644
index d8c12fa..0000000
--- "a/23\346\275\230\350\276\211\350\276\276/WebForm2.aspx"
+++ /dev/null
@@ -1,17 +0,0 @@
-<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>
-
-
-
-
-
-
-
-
-
-
-
-
--
Gitee
From 7cbae70f5000020a07153369c421815ade2ac0ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE?= <1565174779@qq.com>
Date: Sun, 29 May 2022 14:02:04 +0000
Subject: [PATCH 13/18] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2023?=
=?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE/WebForm2.aspx.cs?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../WebForm2.aspx.cs" | 31 -------------------
1 file changed, 31 deletions(-)
delete mode 100644 "23\346\275\230\350\276\211\350\276\276/WebForm2.aspx.cs"
diff --git "a/23\346\275\230\350\276\211\350\276\276/WebForm2.aspx.cs" "b/23\346\275\230\350\276\211\350\276\276/WebForm2.aspx.cs"
deleted file mode 100644
index 8d23b2d..0000000
--- "a/23\346\275\230\350\276\211\350\276\276/WebForm2.aspx.cs"
+++ /dev/null
@@ -1,31 +0,0 @@
-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)
- {
- if (Session["mane"] != null)
- {
- Response.Write("欢迎用户" + Session["mane"] + "登录本系统!
");
- Response.Write("您登录系统的时间为:" + Session["Nowtime"]);
- }
- else
- {
- Response.Redirect("~/WebForm1.aspx");
- }
- }
-
- protected void Button1_Click(object sender, EventArgs e)
- {
- Session.Abandon();
- Response.Redirect("~/WebForm1.aspx");
- }
- }
-}
\ No newline at end of file
--
Gitee
From 9e06d468b99a76eb6a56515657b39387767e1891 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE?= <1565174779@qq.com>
Date: Sun, 29 May 2022 14:02:15 +0000
Subject: [PATCH 14/18] =?UTF-8?q?=E6=96=B0=E5=BB=BA=205.28=E4=BD=9C?=
=?UTF-8?q?=E4=B8=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../5.28\344\275\234\344\270\232/.keep" | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 "23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/.keep"
diff --git "a/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/.keep" "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/.keep"
new file mode 100644
index 0000000..e69de29
--
Gitee
From 2b8eb6020f92c742e47c78679b18b8b6b306b86e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BD=98=E8=BE=89=E8=BE=BE?= <1565174779@qq.com>
Date: Sun, 29 May 2022 14:02:36 +0000
Subject: [PATCH 15/18] =?UTF-8?q?=E7=8E=8B=E6=95=99=E7=9A=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../5.28\344\275\234\344\270\232/Global.asax" | 1 +
.../Global.asax.cs" | 52 +++++++++++++++++++
.../WebForm1.aspx" | 35 +++++++++++++
.../WebForm1.aspx.cs" | 33 ++++++++++++
.../WebForm2.aspx" | 17 ++++++
.../WebForm2.aspx.cs" | 31 +++++++++++
.../WebForm3.aspx" | 16 ++++++
.../WebForm3.aspx.cs" | 19 +++++++
8 files changed, 204 insertions(+)
create mode 100644 "23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/Global.asax"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/Global.asax.cs"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm1.aspx"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm1.aspx.cs"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm2.aspx"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm2.aspx.cs"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm3.aspx"
create mode 100644 "23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm3.aspx.cs"
diff --git "a/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/Global.asax" "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/Global.asax"
new file mode 100644
index 0000000..760c31c
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/Global.asax"
@@ -0,0 +1 @@
+<%@ Application Codebehind="Global.asax.cs" Inherits="WebApplication1.Global" Language="C#" %>
diff --git "a/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/Global.asax.cs" "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/Global.asax.cs"
new file mode 100644
index 0000000..ac613b9
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/Global.asax.cs"
@@ -0,0 +1,52 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Security;
+using System.Web.SessionState;
+
+namespace WebApplication1
+{
+ public class Global : System.Web.HttpApplication
+ {
+
+ protected void Application_Start(object sender, EventArgs e)
+ {
+ Application.Lock();
+ Application["sum"] = 0;
+ Application["Zxsum"] = 0;
+ Application.UnLock();
+ }
+
+ protected void Session_Start(object sender, EventArgs e)
+ {
+ Application["sum"] = (int)Application["sum"] + 1;
+ Application["Zxsum"] = (int)Application["Zxsum"] + 1;
+ }
+
+ protected void Application_BeginRequest(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_AuthenticateRequest(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Application_Error(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void Session_End(object sender, EventArgs e)
+ {
+ Application["Zxsum"] = (int)Application["Zxsum"] - 1;
+ }
+
+ protected void Application_End(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git "a/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm1.aspx" "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm1.aspx"
new file mode 100644
index 0000000..17fcc92
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm1.aspx"
@@ -0,0 +1,35 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm1.aspx.cs" "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm1.aspx.cs"
new file mode 100644
index 0000000..b30acda
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm1.aspx.cs"
@@ -0,0 +1,33 @@
+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 WebForm1 : System.Web.UI.Page
+ {
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ protected void Button1_Click(object sender, EventArgs e)
+ {
+ string name = txt_Name.Text;
+ string pwd = txt_Pwd.Text;
+ if (name == "admin" && pwd=="123456")
+ {
+ Session["mane"] = name;
+ Session["Nowtime"] = DateTime.Now;
+ Response.Redirect("~/WebForm2.aspx");
+ }
+ else
+ {
+ Response.Write("");
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git "a/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm2.aspx" "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm2.aspx"
new file mode 100644
index 0000000..d8c12fa
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm2.aspx"
@@ -0,0 +1,17 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm2.aspx.cs" "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm2.aspx.cs"
new file mode 100644
index 0000000..8d23b2d
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/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 WebApplication1
+{
+ public partial class WebForm2 : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (Session["mane"] != null)
+ {
+ Response.Write("欢迎用户" + Session["mane"] + "登录本系统!
");
+ Response.Write("您登录系统的时间为:" + Session["Nowtime"]);
+ }
+ else
+ {
+ Response.Redirect("~/WebForm1.aspx");
+ }
+ }
+
+ protected void Button1_Click(object sender, EventArgs e)
+ {
+ Session.Abandon();
+ Response.Redirect("~/WebForm1.aspx");
+ }
+ }
+}
\ No newline at end of file
diff --git "a/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm3.aspx" "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm3.aspx"
new file mode 100644
index 0000000..d2ba5da
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm3.aspx"
@@ -0,0 +1,16 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="WebApplication1.WebForm3" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm3.aspx.cs" "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm3.aspx.cs"
new file mode 100644
index 0000000..48d6dc4
--- /dev/null
+++ "b/23\346\275\230\350\276\211\350\276\276/5.28\344\275\234\344\270\232/WebForm3.aspx.cs"
@@ -0,0 +1,19 @@
+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 WebForm3 : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ Response.Write($"该网站的总访问人数:{Application["sum"]}
");
+ Response.Write($"当前在线人数:{Application["Zxsum"]}");
+
+ }
+ }
+}
\ No newline at end of file
--
Gitee
From 53e01a2a1e3ff0ef6314abc31bbb4ba31f04ce5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E9=83=81=E9=BD=90?= <2050634948@qq.com>
Date: Sun, 29 May 2022 14:28:58 +0000
Subject: [PATCH 16/18] =?UTF-8?q?=E6=96=B0=E5=BB=BA=205.29?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
"46\347\216\213\351\203\201\351\275\220/5.29/.keep" | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 "46\347\216\213\351\203\201\351\275\220/5.29/.keep"
diff --git "a/46\347\216\213\351\203\201\351\275\220/5.29/.keep" "b/46\347\216\213\351\203\201\351\275\220/5.29/.keep"
new file mode 100644
index 0000000..e69de29
--
Gitee
From 8637a97ed65113452a77e643366a0d56da98efba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E9=83=81=E9=BD=90?= <2050634948@qq.com>
Date: Sun, 29 May 2022 14:30:46 +0000
Subject: [PATCH 17/18] =?UTF-8?q?=E7=BB=83=E4=B9=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../5.29/WebForm1.aspx" | 35 +++++++++++++++++++
.../5.29/WebForm1.aspx.cs" | 33 +++++++++++++++++
.../5.29/WebForm2.aspx" | 17 +++++++++
.../5.29/WebForm2.aspx.cs" | 31 ++++++++++++++++
.../5.29/WebForm3.aspx" | 16 +++++++++
.../5.29/WebForm3.aspx.cs" | 19 ++++++++++
6 files changed, 151 insertions(+)
create mode 100644 "46\347\216\213\351\203\201\351\275\220/5.29/WebForm1.aspx"
create mode 100644 "46\347\216\213\351\203\201\351\275\220/5.29/WebForm1.aspx.cs"
create mode 100644 "46\347\216\213\351\203\201\351\275\220/5.29/WebForm2.aspx"
create mode 100644 "46\347\216\213\351\203\201\351\275\220/5.29/WebForm2.aspx.cs"
create mode 100644 "46\347\216\213\351\203\201\351\275\220/5.29/WebForm3.aspx"
create mode 100644 "46\347\216\213\351\203\201\351\275\220/5.29/WebForm3.aspx.cs"
diff --git "a/46\347\216\213\351\203\201\351\275\220/5.29/WebForm1.aspx" "b/46\347\216\213\351\203\201\351\275\220/5.29/WebForm1.aspx"
new file mode 100644
index 0000000..17fcc92
--- /dev/null
+++ "b/46\347\216\213\351\203\201\351\275\220/5.29/WebForm1.aspx"
@@ -0,0 +1,35 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/46\347\216\213\351\203\201\351\275\220/5.29/WebForm1.aspx.cs" "b/46\347\216\213\351\203\201\351\275\220/5.29/WebForm1.aspx.cs"
new file mode 100644
index 0000000..b30acda
--- /dev/null
+++ "b/46\347\216\213\351\203\201\351\275\220/5.29/WebForm1.aspx.cs"
@@ -0,0 +1,33 @@
+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 WebForm1 : System.Web.UI.Page
+ {
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ protected void Button1_Click(object sender, EventArgs e)
+ {
+ string name = txt_Name.Text;
+ string pwd = txt_Pwd.Text;
+ if (name == "admin" && pwd=="123456")
+ {
+ Session["mane"] = name;
+ Session["Nowtime"] = DateTime.Now;
+ Response.Redirect("~/WebForm2.aspx");
+ }
+ else
+ {
+ Response.Write("");
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git "a/46\347\216\213\351\203\201\351\275\220/5.29/WebForm2.aspx" "b/46\347\216\213\351\203\201\351\275\220/5.29/WebForm2.aspx"
new file mode 100644
index 0000000..d8c12fa
--- /dev/null
+++ "b/46\347\216\213\351\203\201\351\275\220/5.29/WebForm2.aspx"
@@ -0,0 +1,17 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/46\347\216\213\351\203\201\351\275\220/5.29/WebForm2.aspx.cs" "b/46\347\216\213\351\203\201\351\275\220/5.29/WebForm2.aspx.cs"
new file mode 100644
index 0000000..8d23b2d
--- /dev/null
+++ "b/46\347\216\213\351\203\201\351\275\220/5.29/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 WebApplication1
+{
+ public partial class WebForm2 : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (Session["mane"] != null)
+ {
+ Response.Write("欢迎用户" + Session["mane"] + "登录本系统!
");
+ Response.Write("您登录系统的时间为:" + Session["Nowtime"]);
+ }
+ else
+ {
+ Response.Redirect("~/WebForm1.aspx");
+ }
+ }
+
+ protected void Button1_Click(object sender, EventArgs e)
+ {
+ Session.Abandon();
+ Response.Redirect("~/WebForm1.aspx");
+ }
+ }
+}
\ No newline at end of file
diff --git "a/46\347\216\213\351\203\201\351\275\220/5.29/WebForm3.aspx" "b/46\347\216\213\351\203\201\351\275\220/5.29/WebForm3.aspx"
new file mode 100644
index 0000000..d2ba5da
--- /dev/null
+++ "b/46\347\216\213\351\203\201\351\275\220/5.29/WebForm3.aspx"
@@ -0,0 +1,16 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="WebApplication1.WebForm3" %>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git "a/46\347\216\213\351\203\201\351\275\220/5.29/WebForm3.aspx.cs" "b/46\347\216\213\351\203\201\351\275\220/5.29/WebForm3.aspx.cs"
new file mode 100644
index 0000000..48d6dc4
--- /dev/null
+++ "b/46\347\216\213\351\203\201\351\275\220/5.29/WebForm3.aspx.cs"
@@ -0,0 +1,19 @@
+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 WebForm3 : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ Response.Write($"该网站的总访问人数:{Application["sum"]}
");
+ Response.Write($"当前在线人数:{Application["Zxsum"]}");
+
+ }
+ }
+}
\ No newline at end of file
--
Gitee
From f139ef4ffa96fceab1df7015ad9bd8938c785e87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9C=E7=8E=8B=E9=83=81=E9=BD=90=E2=80=9D?=
<“2050634948@qq.com”>
Date: Sun, 29 May 2022 22:40:13 +0800
Subject: [PATCH 18/18] 1
---
"46\347\216\213\351\203\201\351\275\220/5.29/.keep" | 0
1 file changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 "46\347\216\213\351\203\201\351\275\220/5.29/.keep"
diff --git "a/46\347\216\213\351\203\201\351\275\220/5.29/.keep" "b/46\347\216\213\351\203\201\351\275\220/5.29/.keep"
deleted file mode 100644
index e69de29..0000000
--
Gitee