Please find out the logical error in my coding..
I have grid view which was filled with checkbox ,empid, empname.
At present i filled 3 rows in gridview...
And also i have one button outside the gridview
When i click on the button...The empname which is corresponding the particular row (which was selected in checkbox)...Should get displayed..
My coding is..
ArrayList arrayCheckbox = new ArrayList();
protected void ButtonName_Click(object sender, EventArgs e)
for (int i = 0; i < GridViewTest.Rows.Count; i++)
CheckBox cb = (CheckBox)GridViewTest.Rows[i].Cells.FindControl("checkboxItems");
arrayCheckbox[i] = (String)GridViewTest.Rows[i].Cells.Text;
for (int i = 0; i < arrayCheckbox.Count; i++)
Response.Write("<br> Name is" + arrayChe
View Complete Post