listView中实现多选
来源:互联网 发布:网络文件系统 编辑:程序博客网 时间:2024/06/10 20:41
protected void cbCheckAll0_CheckedChanged(object sender, EventArgs e)
{
if (cbCheckAll0.Checked)//如果全选的checkbox被选中
{
for (int i = 0; i < this.ListView1.Items.Count; i++)
{
CheckBox box = this.ListView1.Items[i].Controls[8].FindControl("CheckBox1") as CheckBox;//遍历listview中的下拉框
box.Checked = true;//设成选中状态
}
}
else
{
for (int i = 0; i < this.ListView1.Items.Count; i++)
{
CheckBox box = this.ListView1.Items[i].Controls[8].FindControl("CheckBox1") as CheckBox;
box.Checked = false;
}
}
}
- listView中实现多选
- ListView中嵌套checkbox实现多选
- ListView中使用CheckedTextView实现多选
- ListView 中使用CheckBox实现多选
- listview实现多选
- 实现listview中checkbox的多选与记录
- Android 实现listview中checkbox的多选与记录
- 实现listview中checkbox的多选与记录
- 实现listview中checkbox的多选与记录
- android中ListView的setItemChecked方法 实现多选
- ListView 中使用RadioButton实现单选
- CheckBox在listview中实现单选
- listview实现多选功能
- android ListView 实现多选
- listview+checkbox实现多选
- listview简单实现多选
- 在ListView中实现排序
- C#中listview实现排序
- Java随机生成验证码图片,并且保存到文件系统中
- Asp.net中防止用户多次登录的方法
- 内存操作
- GNU tools 开发ARM 程序及生成映象文件机理
- 权限设计学习(一)
- listView中实现多选
- 作为一个程序员的委屈
- php防注入代码
- 延长session失效时间从24分钟到4小时
- 公钥基础设施PKI(Pubic Key Infrastructure)
- 再谈oracle配置文件
- 服务器又宕机了,怎么办?
- 授权
- 关于Java String对象创建问题