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
what is Entity-relationship diagram for e-resource planner software

What are abstract classes? The features of the abstract class are as follows:- 1.     You can not create an object of the abstract class. 2.     The Abstract class is des

How can we perform transactions in .NET? The common sequence of steps that would be performed for developing a transactional application is as follows: 1)In the first step o

We need Long term Kentico developer needed I want a solid Kentico developer that I can rely on to handle overflow work. Usually this will include about 5 hours of work each week

Define an event. Whenever an action takes place in a class, that class gives a notification to other classes or objects that are assigned to perform certain tasks. These notifi

What is project management? Applying the knowledge, skills, techniques, tools in project and deliver project deliverable is a short definition of the project management. It's b

What are indexes? The Indexes in the SQL Server are similar to the indexes in books. They help SQL Server to retrieve the data quickly.These are classified into clustered and n

What is a project baselines? The Project base line defines a logical closure of any deliverable or cycle. For example you have done the requirement phase with sign off from the

What is cyclomatic complexity and why is it important? Cyclomatic complexity is a computer science metric (measurement) developed by Thomas McCabe used to generally calculate t