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
This assignment is based on lectures, tutorials, computer labs and research work. 1. Background During the lectures and tutorials on business process modeling and business

The ASP.NET provides two namespaces. The first is System.WEB.mailmessage class and the second is System.Web.Mail.Smtpmail class.

What are benefits and limitations of using Cookies? The benefits of using cookies for state management are as follows:- 1)    There is no server resources required as they a

How to get Herarichal Data in Treeview control from sql server database in asp.net , can you provide the source code .

What is triple constraint triangle?   Figure: -Project Management Triangle The Project Management triangle is depicted as Cost, Schedule & scope. These 3 aspects for

how to create log in form using vb 2010

What is a parameter? Explain the new types of parameters introduced in C# 4.0. A parameter is a special type of variable, which is used in a function to give a piece of informa


NameSpace Namespace consists of 2  main basic functionality :- NameSpace Logically types group , ex. System.Web.UI logically groups our UI related features. In Object O

What is .NET Remoting? The .NET remoting is replacement of DCOM. Using .NET remoting you can make remote object calls that lie on different Application Domains. since the remot