评论会员:hitech_ssc 时间:2012/02/06
它工作得很好,我检查一次如果你没有得到答复,我的
GridViewRowCollection rc = gvArea.Rows;
foreach (GridViewRow gRow in rc)
{
CheckBox cBox = (CheckBox)gRow.FindControl("chkSelect");
if (cBox.Checked == true)
{
}
}
评论会员:shashikanth2011 时间:2012/02/06
其实,如果你有问题意味着你把那个复选框..
?
<asp:templatefield headertext="checkbox" xmlns:asp="#unknown">
<itemtemplate>
<asp:checkbox id="cb" runat="server" />
</itemtemplate>
<edititemtemplate>
<asp:checkbox id="cb1" runat="server" />
</edititemtemplate>
</asp:templatefield>
如果您放置在ItemTemplate中(即,"CB"复选框),然后你可以直接访问它通过
代码写自己hitech_ssc
{体C3}
如果你想访问的复选框CB1,然后
onEditing事件
{的C4}
评论会员:游客 时间:2012/02/06
阿努普达斯古普塔(asteranup)
您好,
试试这个
{C5的}