what is the use of dataviewuser-defined view of a


What is the use of DataView?

User-defined view of a table is contained in a DataView. A complete table or a small section of table depending on some criteria can be shown by an object of the DataView class. You can use this class to sort and find data within DataTable.

The DataView class has the following methods:

Find() - Finds a row in a DataView by using sort key value.

FindRows() - Uses the sort key value to match it with the columns of DataRowView objects. It returns an array of all the corresponding objects of DataRowView whose columns match with the sort key value.

AddNew() - Adds a new row to the DataView object.

Delete() - Deletes the specified row from the DataView object according to the certain index.

 

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: what is the use of dataviewuser-defined view of a
Reference No:- TGS0311122

Expected delivery within 24 Hours