如何检查CheckBoxList项目? [英] How to checked CheckBoxList items?
本文介绍了如何检查CheckBoxList项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
要检查CheckBoxList项,我正在使用以下代码:
To Checked CheckBoxList item I am using following code:
string pyDetails = objBiltyDetails.BltPayDetails.ToString();
string[] split = pyDetails.Split(',');
foreach (string item in split)
{
//if (item != "")
//{
CheckBxPayDetails.SelectedValue = item;
//}
}
项目中有两个值,但仅选中了一个复选框.
请提供帮助.
There are two values in item but only one check box is Checked.
Please help.
推荐答案
在此处 [ ^ ].
客户端:
http://forums.asp.net/t/1560080.aspx/1 [ ^ ]
Client Side:
http://forums.asp.net/t/1560080.aspx/1[^]
浏览下面的链接你会得到解决方案
http://www.dotnetcurry.com/ShowArticle.aspx?ID=77 [ ^ ]
问候,
Ramamuni Reddy M
go through below link u will get solution
http://www.dotnetcurry.com/ShowArticle.aspx?ID=77[^]
With Regards,
Ramamuni Reddy M
这篇关于如何检查CheckBoxList项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文