To enter values in GridView dynamically after clicking edit link in GridView
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all, Iam a newbie, I retrieve the table from Database. I need to enter values in the GridView Cells directly When i click EDIT in girdview. protected void GridView2_RowEditing(object sender, EventArgs e) { GridView2.SelectedRow.Cells[3].Focus(); } this is giving me an error. "Object reference not set to an instance of an object". After editing i have an "update" in gridview that updates in database, i can do this. What code i need to put in RowEditing event, so that it takes my values entered in cells. Thanks in advance.