Basic use of "dataview", DOT NET Programming

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.

Posted Date: 9/24/2012 2:48:00 AM | Location : United States







Related Discussions:- Basic use of "dataview", Assignment Help, Ask Question on Basic use of "dataview", Get Answer, Expert's Help, Basic use of "dataview" Discussions

Write discussion on Basic use of "dataview"
Your posts are moderated
Related Questions
Project Description: i have predefined template which contains all my user details and there order details We have to create a login where a user uploads data. Mobile  Nam

What is event bubbling? The Server controls such as  DataList, Datagrid,  Repeater can have another child controls inside them. For example the DataGrid can have combo box ins

Import Columns of Data into Data Table for Data Grid View in C# and WPF Need help with a project in C# / WPF. Trying to read a csv file or text file with columns of data that wi

What is the difference between Server.Transfer and response.Redirect? The difference  between the Server.Transfer and the response.Redirect them are as follows:- 1)Response.

Program for Declaration and Additions of Variables, I am a learner of C# language and i am struggling with the declaration of variables in C#. Can you have any code examples for th

Design an interface and add code to command buttons using case statement, to find coursework to be calculated using formula 0.6*1/6*total Mark

TASK - DESIGN ALGORITHM You are required to design a suitable solution algorithm by using either structured chart, pseudocode or flowchart. This diagram should clarify the proce

Read an Array and perform Sorting - C# program Can any one assist me in performing sorting of an array.

having trouble programming

Explain ADO.NET in brief. ADO.NET is a very significant feature of .NET Framework, which is used to work with data that is stored in structured data sources, like databases and