hi…
firstly find the checkboxlist in the gridview by using the findControl .
here is the code
Int[] selectedCBLIndex =new int[10];
CheckBoxList cbList=(CheckBoxList)e.Row.FindControl(“MYCBList”);
foreach (ListItem item in cbList.Items)
{
if (item.Selected)
{
int thisIndex = CheckBoxList1.Items.IndexOf(item);
selectedCBLIndex.Add(thisindex);
}
}