protected void GridView2_RowEditing(object sender, GridViewEditEventArgs e) { DataTable t = (DataTable)Session["MyDataTable"]; GridView2.EditIndex = e.NewEditIndex; GridViewRow row = GridView2.Rows[e.NewEditIndex]; // DropDownList DropDownList2 = (DropDownList)row.FindControl("DropDownList1"); GridView2.DataSource = t; GridView2.DataBind(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)