foreach (GridViewRow row in GridView1.Rows) { DropDownList ddl = (DropDownList)row.FindControl("DropDownList1"); string str = ddl.SelectedItem.Text; //write the code for insertion }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)