K
Kylin
How can I judge which checkbox is checked ?
for(int i=0;i<dgOrderList.Items.Count;i++)
{
CheckBox
ordercheck=(CheckBox)dgOrderList.Items.FindControl("OrderCheck");
if (ordercheck.Checked==true)
{
Response.Write(i.ToString());
}
}
and no results that I want to have ,
any help ?
for(int i=0;i<dgOrderList.Items.Count;i++)
{
CheckBox
ordercheck=(CheckBox)dgOrderList.Items.FindControl("OrderCheck");
if (ordercheck.Checked==true)
{
Response.Write(i.ToString());
}
}
and no results that I want to have ,
any help ?