问题与复选框列表有关 [英] problem is related to checkboxlist

查看:66
本文介绍了问题与复选框列表有关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在选择另一个1复选框时检查1复选框列表的所有项目????

how can we check all the items of 1 checkboxlist on the selection of another 1????

推荐答案

要选中此复选框,您是否需要在其中一个循环中运行一个for循环或while循环,您可以使用index获取复选框并检查其属性.Checked Proprty是否为真...

如果为true,则选中该复选框....
For checking checkbox is checked or not you need to run one for loop or while loop an inside that looop you can get check box using index and check its .Checked Proprty is true or not...

if it is true then that check box is checked....


这篇关于问题与复选框列表有关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆