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 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
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 0000000000000000000000000000000000000000..760c31cade779a7a546a2794d83cf290ac2cf247
--- /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 0000000000000000000000000000000000000000..ac613b93520f213558ed87b59edc3058e655bf13
--- /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 0000000000000000000000000000000000000000..17fcc9284f5b98e01c586897a2feaac24745bec8
--- /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 0000000000000000000000000000000000000000..b30acda8bf3521bd334ebe11a0bf58e68e1e38a7
--- /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 0000000000000000000000000000000000000000..d8c12fa9bf0a2e968e775af9e1a119ee8f783aea
--- /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 0000000000000000000000000000000000000000..8d23b2d80f8101bfa79983ed00710c74291e3545
--- /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 0000000000000000000000000000000000000000..d2ba5da33279ec4c12733a868dda6ee7edfd9b7b
--- /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 0000000000000000000000000000000000000000..48d6dc4ab391554fdde8b70c897c46181341617c
--- /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
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 0000000000000000000000000000000000000000..17fcc9284f5b98e01c586897a2feaac24745bec8
--- /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 0000000000000000000000000000000000000000..b30acda8bf3521bd334ebe11a0bf58e68e1e38a7
--- /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 0000000000000000000000000000000000000000..d8c12fa9bf0a2e968e775af9e1a119ee8f783aea
--- /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 0000000000000000000000000000000000000000..8d23b2d80f8101bfa79983ed00710c74291e3545
--- /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 0000000000000000000000000000000000000000..d2ba5da33279ec4c12733a868dda6ee7edfd9b7b
--- /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 0000000000000000000000000000000000000000..48d6dc4ab391554fdde8b70c897c46181341617c
--- /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
diff --git "a/46\347\216\213\351\203\201\351\275\220/WebForm1.aspx.cs" "b/46\347\216\213\351\203\201\351\275\220/WebForm1.aspx.cs"
new file mode 100644
index 0000000000000000000000000000000000000000..7e916bfb544ce0b99037323e0f0241a56ace49a9
--- /dev/null
+++ "b/46\347\216\213\351\203\201\351\275\220/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