From 7e5d74f6f8e9de478b2ad608274a60194cd1460d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E4=BD=B3=E4=BC=A6?= <2941757550@qq.com>
Date: Mon, 23 May 2022 04:19:29 +0000
Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=B0=E5=BB=BA=2013=E9=99=88=E4=BD=B3?=
=?UTF-8?q?=E4=BC=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
"13\351\231\210\344\275\263\344\274\246/.keep" | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 "13\351\231\210\344\275\263\344\274\246/.keep"
diff --git "a/13\351\231\210\344\275\263\344\274\246/.keep" "b/13\351\231\210\344\275\263\344\274\246/.keep"
new file mode 100644
index 0000000..e69de29
--
Gitee
From 8942e9e178d273193f033ad0bf3f3bd7c3586ec9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E4=BD=B3=E4=BC=A6?= <2941757550@qq.com>
Date: Mon, 23 May 2022 04:19:47 +0000
Subject: [PATCH 2/2] 1 1
---
...50\345\206\214\345\212\237\350\203\275.md" | 187 ++++++++++++++++++
1 file changed, 187 insertions(+)
create mode 100644 "13\351\231\210\344\275\263\344\274\246/\345\256\236\347\216\260\347\224\250\346\210\267\346\263\250\345\206\214\345\212\237\350\203\275.md"
diff --git "a/13\351\231\210\344\275\263\344\274\246/\345\256\236\347\216\260\347\224\250\346\210\267\346\263\250\345\206\214\345\212\237\350\203\275.md" "b/13\351\231\210\344\275\263\344\274\246/\345\256\236\347\216\260\347\224\250\346\210\267\346\263\250\345\206\214\345\212\237\350\203\275.md"
new file mode 100644
index 0000000..b3f23fe
--- /dev/null
+++ "b/13\351\231\210\344\275\263\344\274\246/\345\256\236\347\216\260\347\224\250\346\210\267\346\263\250\345\206\214\345\212\237\350\203\275.md"
@@ -0,0 +1,187 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+===========================================================================================
+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 Button2_Click(object sender, EventArgs e)
+ {
+ string name = TextBox1.Text;
+ string sex = RadioButtonList1.SelectedValue;
+ string have = CheckBoxList1.SelectedValue;
+ string hab= GetChecked(CheckBoxList1);
+ string birthday = TextBox4.Text;
+ string email = TextBox5.Text;
+ string add = TextBox6.Text;
+
+ Session["a"] = "用户名:" + name;
+ Session["b"] = "性别:" + sex;
+ Session["c"] = "兴趣爱好:" + hab;
+ Session["d"] = "出生日期:" + birthday;
+ Session["f"] = "邮箱:" + email;
+ Session["g"] = "地址:" + add;
+
+ Response.Redirect("yanzheng.aspx");
+
+
+ }
+
+ public static string GetChecked(CheckBoxList checklist)
+ {
+ string result = "";
+ for (int i = 0; i < checklist.Items.Count; i++)
+ {
+ if (checklist.Items[i].Selected)
+ {
+ result += checklist.Items[i].Value + "";
+ }
+ }
+ return result;
+ }
+
+ }
+}
+===========================================================================================
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="yanzheng.aspx.cs" Inherits="WebApplication1.yanzheng" %>
+
+
+
+
+
+
+
+
+
+
+
+
+===========================================================================================
+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 yanzheng : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ Label1.Text = Session["a"].ToString();
+ Label2.Text = Session["b"].ToString();
+ Label3.Text = Session["c"].ToString();
+ Label4.Text = Session["d"].ToString();
+ Label5.Text = Session["f"].ToString();
+ Label6.Text = Session["g"].ToString();
+ }
+ }
+ }
+}
\ No newline at end of file
--
Gitee