Updating multiple rows in gridview

Displaying works fine, but I'm trying to create a Delete action.The object's delete method only needs the ID field and in the Object Data Source even if I define the method as only needing an ID field, complains because it is looking for a method which has both the fields defined in Data Key Names.

Grid View) and I am adding multiple rows to it (Rows. The problem is it flickers and does not look clean when it is constantly adding the row and refreshing the display.

The Grid View control supports the following features:use Row Editing, Row Updating, Row Deleting, Row Command, Row Data Bound, Row Canceling Edit, and Pagination in a Data Grid.

From this article, you will have a clear view of the Grid View data insert, delete, and update operations.

Thanks, Ward Did you take a look at one of these possibilities ?

Rather than adding the rows of the data grid one at a time, use the Data Grid View. Add Range Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016.

Search for updating multiple rows in gridview:

updating multiple rows in gridview-76updating multiple rows in gridview-61

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “updating multiple rows in gridview”