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
I have a site that's already fully developed, and need to solve some small issue (Text editor posting error, and a Server error caused by some Nhibernate code.) Server Error in

Custom Login Page for SharePoint 2013 with Active Directory Project Description: I would like to prepare a webpart or an application for Sharepoint 2013 foundation. The we

Differentiate between Boxing and Unboxing. When a value type is changed to an object type, the process is known as boxing; while, when an object type is changed to a value type

What is serialization, how it works in .NET? Serialization is when you persist the state of an object to a storage medium so an exact copy can be re-created at a later stage. S

Explain hybrid and community cloud. The hybrid cloud having of multiple service providers. This model integrates several cloud services for Hybrid Web hosting. It is basically

Program of Nested Loop - C# Program I am a learner of C# language and i am struggling with the Loops in c#. Can you have any code examples for this.

Project Description: Simple task on analysis svn and github .NET, PHP, Engineering, Software Architecture

Project Description: Hi I am seeking for an MVC developer who is good at Online Store, CMS and Ecommerce. Skills required: .NET, HTML, eCommerce, Shopping Carts, Website D

Why isn''t there an allowed amount for nonfacility for code 27405?

How do I write common code for different dot net framework data providers?