GridView Bound column
C#
1
Posts
1
Posters
0
Views
1
Watching
-
I have a gridview with 2 bound columns and 1 template column(chkSalbud). The bound columns are the Id and Name. In the gridView_updating event, protected void GridView_Updating(object sender, GridViewUpdateEventArgs e) { GridViewRow row = GridView.Rows[e.RowIndex]; if (row != null) { int chkSalbud = Convert.ToInt16((((CheckBox)row.FindControl("editchkSalbud")).Checked)); ???? [here similarly i need to find the bound columns id and name values. the name field is readonly and the id field is visible=false] } } Am trying to avoid keeping the values in dataset. Should I use template column for id and name or can I do with bound column itself? Please help me.
Thanks