From 87ef3808e279f822d81ca63e21acb23b1c84dfab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=9B=AA=E7=82=9C?= <2874694424@qq.com> Date: Tue, 24 May 2022 16:18:02 +0000 Subject: [PATCH 1/4] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2015?= =?UTF-8?q?=E7=8E=8B=E9=9B=AA=E7=82=9C/=E7=BB=83=E4=B9=A0/=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WebForm1.aspx" | 21 ------------------ .../WebForm1.aspx.cs" | 22 ------------------- 2 files changed, 43 deletions(-) delete mode 100644 "15\347\216\213\351\233\252\347\202\234/\347\273\203\344\271\240/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" delete mode 100644 "15\347\216\213\351\233\252\347\202\234/\347\273\203\344\271\240/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" diff --git "a/15\347\216\213\351\233\252\347\202\234/\347\273\203\344\271\240/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" "b/15\347\216\213\351\233\252\347\202\234/\347\273\203\344\271\240/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" deleted file mode 100644 index 5575b17..0000000 --- "a/15\347\216\213\351\233\252\347\202\234/\347\273\203\344\271\240/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" +++ /dev/null @@ -1,21 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="web_003.WebForm1" %> - - - - - - - - - -
-
- 省份: - - 城市: - - 区县: -
-
- - diff --git "a/15\347\216\213\351\233\252\347\202\234/\347\273\203\344\271\240/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" "b/15\347\216\213\351\233\252\347\202\234/\347\273\203\344\271\240/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" deleted file mode 100644 index 8e083a5..0000000 --- "a/15\347\216\213\351\233\252\347\202\234/\347\273\203\344\271\240/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace web_003 -{ - public partial class WebForm1 : System.Web.UI.Page - { - protected void Page_Load(object sender, EventArgs e) - { - SqlDataSource1.SelectCommand = "select id,cityName from city where type = 1"; - } - - protected void DropDownList1_TextChanged(object sender, EventArgs e) - { - SqlDataSource2.SelectCommand = "select * from city where type = 2 and pid="+DropDownList1.SelectedValue; - } - } -} \ No newline at end of file -- Gitee From 57479fa027b41b00cf54d90daae603b05c8e3202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=9B=AA=E7=82=9C?= <2874694424@qq.com> Date: Wed, 25 May 2022 00:20:15 +0800 Subject: [PATCH 2/4] 05/25 --- .../WebForm1.aspx" | 22 +++++++++++++ .../WebForm1.aspx.cs" | 32 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 "15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" create mode 100644 "15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" diff --git "a/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" "b/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" new file mode 100644 index 0000000..41bcc2b --- /dev/null +++ "b/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" @@ -0,0 +1,22 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %> + + + + + + + + + +
+
+ 省份: + + 城市: + + 区县: + +
+
+ + diff --git "a/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" "b/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" new file mode 100644 index 0000000..3cd5f2c --- /dev/null +++ "b/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" @@ -0,0 +1,32 @@ +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) + { + if (!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=(select top 1 id from city where pid=2)"; + } + + } + protected void DropDownList1_TextChanged(object sender, EventArgs e) + { + SqlDataSource2.SelectCommand = "select * from city where type = 2 and pid=" + DropDownList1.SelectedValue; + } + + protected void DropDownList2_TextChanged(object sender, EventArgs e) + { + SqlDataSource3.SelectCommand = "select * from city where type = 3 and pid=" + DropDownList2.SelectedValue; + } + } +} \ No newline at end of file -- Gitee From 55e2352a9cdff5e19d67162fc2f552041399ee80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=9B=AA=E7=82=9C?= <2874694424@qq.com> Date: Tue, 24 May 2022 16:21:11 +0000 Subject: [PATCH 3/4] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2015?= =?UTF-8?q?=E7=8E=8B=E9=9B=AA=E7=82=9C/=E6=95=B0=E6=8D=AE=E7=BB=91?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WebForm1.aspx" | 22 ------------- .../WebForm1.aspx.cs" | 32 ------------------- 2 files changed, 54 deletions(-) delete mode 100644 "15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" delete mode 100644 "15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" diff --git "a/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" "b/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" deleted file mode 100644 index 41bcc2b..0000000 --- "a/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx" +++ /dev/null @@ -1,22 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %> - - - - - - - - - -
-
- 省份: - - 城市: - - 区县: - -
-
- - diff --git "a/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" "b/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" deleted file mode 100644 index 3cd5f2c..0000000 --- "a/15\347\216\213\351\233\252\347\202\234/\346\225\260\346\215\256\347\273\221\345\256\232/WebForm1.aspx.cs" +++ /dev/null @@ -1,32 +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) - { - if (!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=(select top 1 id from city where pid=2)"; - } - - } - protected void DropDownList1_TextChanged(object sender, EventArgs e) - { - SqlDataSource2.SelectCommand = "select * from city where type = 2 and pid=" + DropDownList1.SelectedValue; - } - - protected void DropDownList2_TextChanged(object sender, EventArgs e) - { - SqlDataSource3.SelectCommand = "select * from city where type = 3 and pid=" + DropDownList2.SelectedValue; - } - } -} \ No newline at end of file -- Gitee From 908d30aad6433d9e0ad3bcd1ec35879307b109eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=9B=AA=E7=82=9C?= <2874694424@qq.com> Date: Wed, 25 May 2022 00:24:01 +0800 Subject: [PATCH 4/4] 05/25 --- .../\346\265\213\350\257\225.txt" | 1 + 1 file changed, 1 insertion(+) create mode 100644 "15\347\216\213\351\233\252\347\202\234/\346\265\213\350\257\225.txt" diff --git "a/15\347\216\213\351\233\252\347\202\234/\346\265\213\350\257\225.txt" "b/15\347\216\213\351\233\252\347\202\234/\346\265\213\350\257\225.txt" new file mode 100644 index 0000000..56a6051 --- /dev/null +++ "b/15\347\216\213\351\233\252\347\202\234/\346\265\213\350\257\225.txt" @@ -0,0 +1 @@ +1 \ No newline at end of file -- Gitee