From 3cd59b4ecb4979b454782f2606156f28965efa97 Mon Sep 17 00:00:00 2001 From: liu-xianyu <1348870583@qq.com> Date: Wed, 9 Jun 2021 00:47:57 +0800 Subject: [PATCH 1/2] first commit --- .../WebForm1.aspx" | 0 .../WebForm1.aspx.cs" | 0 .../WebForm1.aspx" | 0 .../WebForm1.aspx.cs" | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename "\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx" => "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx" (100%) rename "\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx.cs" => "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx.cs" (100%) rename "\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx" => "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx" (100%) rename "\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" => "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" (100%) diff --git "a/\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx" "b/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx" similarity index 100% rename from "\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx" rename to "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx" diff --git "a/\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx.cs" "b/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx.cs" similarity index 100% rename from "\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx.cs" rename to "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx.cs" diff --git "a/\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx" "b/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx" similarity index 100% rename from "\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx" rename to "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx" diff --git "a/\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" "b/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" similarity index 100% rename from "\347\254\2541\346\254\241\344\275\234\344\270\232/\346\235\216\346\230\214\345\256\235/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" rename to "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" -- Gitee From 95830a7f536c0306deb4fcc163f4619690401ed6 Mon Sep 17 00:00:00 2001 From: liu-xianyu <1348870583@qq.com> Date: Wed, 9 Jun 2021 00:53:22 +0800 Subject: [PATCH 2/2] first commit --- .../1/WebForm1.aspx" | 26 +++++++---------- .../1/WebForm1.aspx.cs" | 29 ++++--------------- .../2/WebForm1.aspx" | 29 +++++++++++++++++++ .../2/WebForm1.aspx.cs" | 16 ++++++---- .../WebForm1.aspx" | 27 ----------------- 5 files changed, 56 insertions(+), 71 deletions(-) rename "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx" => "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/1/WebForm1.aspx" (37%) rename "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" => "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/1/WebForm1.aspx.cs" (31%) create mode 100644 "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/2/WebForm1.aspx" rename "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx.cs" => "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/2/WebForm1.aspx.cs" (49%) delete mode 100644 "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WebForm1.aspx" diff --git "a/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx" "b/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/1/WebForm1.aspx" similarity index 37% rename from "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx" rename to "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/1/WebForm1.aspx" index b70cfb7..816251f 100644 --- "a/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx" +++ "b/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/1/WebForm1.aspx" @@ -10,24 +10,18 @@
diff --git "a/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" "b/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/1/WebForm1.aspx.cs" similarity index 31% rename from "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" rename to "\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/1/WebForm1.aspx.cs" index 355abfe..f9b5c25 100644 --- "a/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/\347\254\254\344\270\200\347\253\240\344\275\234\344\270\232/WebForm1.aspx.cs" +++ "b/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/1/WebForm1.aspx.cs" @@ -5,39 +5,22 @@ using System.Web; using System.Web.UI; using System.Web.UI.WebControls; -namespace WebApplication2 +namespace WebApplication1 { - public partial class WebForm1 : System.Web.UI.Page + public partial class WebForm2 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { - if (!IsPostBack) + if (!IsPostBack ) { - string Time = System.DateTime.Now.ToString(); - Label4.Text = "发布时间"+Time; + DropDownList1.Items.Add("男"); + DropDownList1.Items.Add("女"); } } - protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) - { - DropDownList1.Items.Add("北师大出版社"); - } - protected void Button1_Click(object sender, EventArgs e) { - if (TextBox1 != null) - { - Label5.Text = $"此新闻来自 {DropDownList1.Text} 谢谢您的提交!"; - } - else - { - Label5.Text = "请输入新闻内容"; - } - } - - protected void Button2_Click(object sender, EventArgs e) - { - TextBox1.Text = ""; + Label5.Text = $"姓名:{TextBox1.Text} 年龄:{TextBox2.Text} 性别:{DropDownList1.Text} 爱好:{TextBox3.Text}"; } } } \ No newline at end of file diff --git "a/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/2/WebForm1.aspx" "b/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/2/WebForm1.aspx" new file mode 100644 index 0000000..45cb004 --- /dev/null +++ "b/\347\254\2541\346\254\241\344\275\234\344\270\232/\345\210\230\346\261\211\346\226\207/2/WebForm1.aspx" @@ -0,0 +1,29 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication3.WebForm1" %> + + + + + + +