Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is basic use of “DataView”
What is basic use of “DataView” ?
✍: Guest
“DataView” represents a complete table or can be small section of rows depending on
some criteria. It is best used for sorting and finding data with in “datatable”.
Dataview has the following method’s
Find
It takes a array of values and returns the index of the row.
FindRow
This also takes array of values but returns a collection of “DataRow”.
If we want to manipulate data of “DataTable” object create “DataView” (Using the
“DefaultView” we can create “DataView” object) of the “DataTable” object and use the
following functionalities
AddNew
Adds a new row to the “DataView” object.
Delete
Deletes the specified row from “DataView” object.
2007-10-24, 5559👍, 0💬
Popular Posts:
.NET INTERVIEW QUESTIONS - How can you avoid deadlock in threading? A good and careful planning can ...
What does static variable mean? There are 3 main uses for static variables: If you declare within a ...
How can I execute a PHP script using command line? Just run the PHP CLI (Command Line Interface) pro...
Can you explain duplex contracts in WCF? In duplex contracts when client initiates an operation the ...
Which are the various programming approaches for WCF?