diff --git "a/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm1.aspx" "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm1.aspx" new file mode 100644 index 0000000000000000000000000000000000000000..608b8967a12567110b3e6e78ad54168f004ada65 --- /dev/null +++ "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm1.aspx" @@ -0,0 +1,29 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication5.WebForm1" %> + + + + + + + + + +
+
+ +
+ 姓名: +
+ 年龄: +
+ 爱好: +
+ +
+ 你好!当前时间是: +
+ +
+
+ + diff --git "a/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm1.aspx.cs" "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm1.aspx.cs" new file mode 100644 index 0000000000000000000000000000000000000000..3f218af3dfb768accdb50da13cc40aeb8729d8dd --- /dev/null +++ "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm1.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 WebApplication5 +{ + public partial class WebForm1 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + protected void Button1_Click(object sender, EventArgs e) + { + if (this.TextBox3.Text != "" || this.TextBox1.Text != "" || this.TextBox2.Text != "") + { + this.Label2.Text = System.DateTime.Now.ToString(); + this.Label3.Text = "谢谢你的提交"; + + } + else + { + this.Label3.Text = "请输入客户信息"; + } + } + } +} \ No newline at end of file diff --git "a/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm1.aspx.designer.cs" "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm1.aspx.designer.cs" new file mode 100644 index 0000000000000000000000000000000000000000..40ecd5a5e17733f1e689d8103d185c16977e5902 --- /dev/null +++ "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm1.aspx.designer.cs" @@ -0,0 +1,98 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace WebApplication5 +{ + + + public partial class WebForm1 + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label1; + + /// + /// TextBox1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.TextBox TextBox1; + + /// + /// TextBox2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.TextBox TextBox2; + + /// + /// TextBox3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.TextBox TextBox3; + + /// + /// Button1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Button Button1; + + /// + /// Button2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Button Button2; + + /// + /// Label2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label2; + + /// + /// Label3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label3; + } +} diff --git "a/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm2.aspx" "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm2.aspx" new file mode 100644 index 0000000000000000000000000000000000000000..bda57fb572f97748ef9731ef4401f922b04c7159 --- /dev/null +++ "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm2.aspx" @@ -0,0 +1,24 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication5.WebForm2" %> + + + + + + + + + +
+
+ +
+ +
+ +
+ + +
+
+ + diff --git "a/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm2.aspx.cs" "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm2.aspx.cs" new file mode 100644 index 0000000000000000000000000000000000000000..a1f7a1660919096dade86b5dc4518927d6c6dfb6 --- /dev/null +++ "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm2.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 WebApplication5 +{ + public partial class WebForm2 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + if (PreviousPage != null) + { + TextBox tb = (TextBox)PreviousPage.FindControl("TextBox1"); + TextBox tbx = (TextBox)PreviousPage.FindControl("TextBox2"); + TextBox tbxb = (TextBox)PreviousPage.FindControl("TextBox3"); + + + if (tb != null) + { + Label6.Text = tb.Text; + Label7.Text = tbx.Text; + Label8.Text = tbxb.Text; + + + } + } + } + } +} \ No newline at end of file diff --git "a/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm2.aspx.designer.cs" "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm2.aspx.designer.cs" new file mode 100644 index 0000000000000000000000000000000000000000..f7b1f6bfbaa7339e2a3afe2d6403d0e4706a63d7 --- /dev/null +++ "b/\347\254\2542\346\254\241\344\275\234\344\270\232/\346\237\257\346\226\207\351\276\231/WebForm2.aspx.designer.cs" @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace WebApplication5 +{ + + + public partial class WebForm2 + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// Label6 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label6; + + /// + /// Label7 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label7; + + /// + /// Label8 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label8; + + /// + /// Label9 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label9; + } +}