Username: Password:

怎么判断dataGrid里的复选框被选中-ASP教程,数据库相关
来源:作者: 发布时间:2007-12-26 02:04:13

1: wj2929(*ヤrěйヤ*) ( ) 信誉:100
checkbox cb=(checkbox)datagrid.items[行].cells[列].controls[1];
bool b=cb.checked //这里得到
2: haogmj() ( ) 信誉:100
foreach(datagriditem item in datagrid1.items)
{
checkbox chk=((checkbox)item.cells[4].findcontrol("checkbox1"));
if(item.cells[3].text=="1")
{
chk.checked=true;
}
}



喜欢本文,那就收藏到:

    Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网
相关评论  我也要评论
还没有关于此文章的相关评论!
  • 昵称: (为空则显示guest)
  • 评论分数: ★ ★ ★★★ ★★★★ ★★★★★
  • 评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
  • 导航
    赞助商
    文章类别
    订阅