您的位置:首页 > 运维架构

Button、DropDownList、CheckBox等常用事件

2009-12-31 02:43 337 查看
protected void Button1_Click(object sender, EventArgs e)
{
Response.Write("我是老大");
}
protected void Button1_Command(object sender, CommandEventArgs e)
{
Response.Write("我才是老大");
}
protected void DropDownList1_DataBound(object sender, EventArgs e)
{
}
protected void DropDownList1_DataBinding(object sender, EventArgs e)
{
}
protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
{
if (CheckBox1.Checked)
{
Response.Write("看看你自大得");
}
else
{
Response.Write("别那么不自信");
}
}
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: