Gridview edit row updating

6854933580_2c8b688306_z

In order to implement this trick you need to understand how the Grid View control updates its data.

Net Grid View control with simple Data Set or Data Table, and also explains the methods like Insert, Edit, Update and Delete function in the Grid View control.

Instead double clicking on a row takes the Grid View in edit mode.

"test" will appear in label not "asd" as I would want to. When I click edit on the grid and change the value of the textbox and click update the label will just display the original value of the textbox. "When I click edit on the grid and change the value of the textbox and click update the label will just display the original value of the textbox." So lets say there is "test" in the textbox originally and then I edit it to "asd" then click update. When I Filter the data using dropdown selected Index Changed event the gridview shall load data based on what is searched.Luckily, with some easy trick you can render an editable Grid View without displaying the default Edit, Update and Cancel buttons.For example, have a look at the following Grid View: In this Grid View, there is no Edit, Update, Cancel column at all.I need to do the updating operation on what row is clicked.

You must have an account to comment. Please register or login here!