温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Baidu恶搞程序源码
当前文件:
BaiduEGao/Default.aspx.cs[678B,2009-6-12 11:33:24],打开代码结构图
BaiduEGao/Default.aspx.cs[678B,2009-6-12 11:33:24],打开代码结构图1using System; 2
using System.Collections.Generic; 3
using System.Linq; 4
using System.Web; 5
using System.Web.UI; 6
using System.Web.UI.WebControls; 7
8
public partial class _Default : System.Web.UI.Page 9
{ 10
protected void Page_Load(object sender, EventArgs e) 11
{ 12
13
} 14
15
16
protected void Button1_Click(object sender, EventArgs e) 17
{ 18
Response.Redirect("Default2.aspx?t1=" + Server.HtmlEncode(TextBox1.Text) + "&t2=" + TextBox2.Text); 19
} 20
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) 21
{ 22
if (DropDownList1.SelectedIndex > 0) 23
TextBox1.Text += DropDownList1.SelectedItem.Text; 24
} 25
} 26






}
}