GridView displays data from different tables so i can’t do like there enter link description here or there enter link description here
How it do dynamically?
There my code where I bind GridView:
OracleCommand oracleCom = new OracleCommand();
oracleCom.Connection = oraConnect;
oracleCom.CommandText = "Select * From " + Session["tableNameIns"];
OracleDataAdapter adapter = new OracleDataAdapter();
DataTable tableD = new DataTable();
tableD.Locale = System.Globalization.CultureInfo.InvariantCulture;
adapter.SelectCommand = oracleCom;
adapter.Fill(tableD);
tableResults.DataSource = tableD.AsDataView();
tableResults.DataBind();
Examples:
1. Table Objects: dropdownlist for column object_type.

2. Table Details: dropdownlist for columns point, object, patch.

3. …
check here Editable Gridview with Textbox, CheckBox, Radio Button and DropDown List