foreach (GridViewRow r in GridView2.Rows) { for (int i = 1; i < GridView2.Rows.Count; i++) { if (r.RowType == DataControlRowType.DataRow) { string box = r.Cells[1].Text; DropDownList box1 = DropDownList)GridView2.Rows[i].Cells[0].FindControl("ddlnewList"); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)