What is basic use of "DataView"?
The "DataView" represents the whole table or can be small parts of rows depending on some criteria. It is the best used for sorting and finding data inside the "datatable".
The methods of the Dataview are as shown below:-
Find: This method takes an array of values and returns the index of the row.
FindRow: This method also takes array of values but returns a collection of "DataRow".
If we want to falsify the data of "DataTable" object then create "DataView" (by Using the "DefaultView" we can create "DataView" object) of the "DataTable" object and use the functionalities shown below:-
AddNew: This method adds a new row to the "DataView" object.
Delete: This method deletes the specified row from the"DataView" object.