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)
{
}
{
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)
{
}
相关文章推荐
- c# RadioButton、CheckBox常用屬性與事件
- Jquery 中的CheckBox RadioButton DropDownList的取值赋值
- QT常用控件之QVBoxLayout,QRadioButton,QCheckBox,QMenu,QAction
- Jquery 中的CheckBox RadioButton DropDownList的取值赋值
- 常用的event.button事件
- DropDownList的常用属性和事件
- Asp.net 控件用法汇总-RadioButtonList、DropDownList、button、Checkbox...
- 记录一些WPF常用样式方便以后复用(二)(Button、CheckBox、输入账号密码框)(转)
- ListView的item中有button ImageButton CheckBox EditText等时 点击事件失效问题的解决
- 安卓 ListView Button、CheckBox、RadioButton 点击事件 覆盖的问题
- Android ListView中嵌入其实组件后如checkbox,button后ItemClick事件失效的问题
- .NET常用控件绑定(DropDownList、RadioButtonList、CheckBoxList、ListBox、BulletedList)
- 关于Unity中NGUI的Checkbox复选框、Slider滑动条和Button的6种触发回调事件的方式
- 当Listview中的item与其中的Button/CheckBox的点击事件冲突时……
- Button之常用事件
- ListView的item中有button ImageButton CheckBox EditText等时 点击事件失效问题的解决
- 常用控件RadioButton/CheckBox/Toast
- [android]控件CheckBox/RadioGroup/RadioButton的常用属性---单复选控件
- DropDownList的常用属性和事件
- ListView中嵌入其实组件后如checkbox,button后ItemClick事件失效的问题