niegerian pals for dating - Updating row in gridview

There are two buttons at the top - Update and Cancel - that are common for all the rows of the Grid View.

Updating row in gridview

Free counters Added on January 19,2012 Follow Me @vmsdurano A bit About Me Disclaimer The opinions expressed herein are my own personal opinions and does not represent the opinions of my employers.

Nor does it represent the opinion of my dog, because I don’t have one.

For example, have a look at the following Grid View: In this Grid View, there is no Edit, Update, Cancel column at all.

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

Font-Names="Verdana" Font-Size="10" Data Key Names="Product ID" Auto Generate Columns="false" onrowcancelingedit="Grid View1_Row Canceling Edit" onrowediting="Grid View1_Row Editing" onrowupdating="Grid View1_Row Updating"In the above code, I set two properties Show Edit Button and Show Cancel Button of Command Field.

These properties will automatically render Edit, Update and Cancel buttons inside Grid View column.

In this article we are going to take a look at an alternative method of updating only the changed rows.

The visitors to a web site can typically be divided into two groups: the users and the administrators.

Additionally in the edit mode the Grid View expands horizontally disturbing the page layout.

Comments are closed.