我在Panel中根据数据库的数据,添加了好多个checkbox,然后选中某些值,现在想在程序里把选中的checkbox的ID都找出来,该怎么搞啊?
解决方案 »
- js中window.open()方法在google浏览器中不能使用,请教更好的打开新窗体方法
- 关于DataSet 类,有几个疑问向大家咨询一下.
- 谢谢各位.急救!!!!!!!!!!!!
- VS 2003写的项目放到网上无法运行
- ASP.NET控件的性能问题?
- 发贴问动态加载用户控件的问题
- 求助!关于加载数据量很大页面的问题。在线等...
- 请教各位,麻烦进来看看 谢谢(Session_end||上传文件)
- [求助]请教关于初学者如果学asp.net的学习方法的问题!!
- 我在 asp.net 和 C# 编写的 Web 页面中,我想调用外部应用程序如同VB 中的Shell 如何解决。
- web 方式的怎么做实时曲线图,谢谢各位了
- ASP.NET发布网站之后局域网不能够访问
{
if(control is CheckBox)
{
.....
}
}
{
foreach (System.Web.UI.Control control in this.Panel3.Controls[i].Controls)
{
if (control is CheckBox)
{
if (((CheckBox)control).Checked == true)
{
sqldata.InsetData("hx_jiaose_role", "pj_pid|pj_jid", "" + ((CheckBox)control).ID.ToString() + "|" + constr + "");
}
}
}
}
改为foreach(Control control in panelID.controls)