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
Explain different software development life cycles. The System Development Life Cycle (SDLC) is the overall process of developing information systems through multi stage proces

How many types of validation controls are provided by ASP.NET   The six main types of validation controls are as follows:- 1) Required Field Validator: This validator che

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

What are the best practices while implementing globalization and localization? The best methods while developing international language support software are shown below:- 1)

How can you identify whether or not any changes are made to the DataSet object as it was last loaded? The DataSet object provides the following two methods to track down the ch

I want Text/Image printing Counter Project Description: Need your help in our C# programming project. We need to pass this project in two weeks starting from now to pass our

Prepare an Application in C# or C++ Project Description: We are seeking someone who can write a program in C# or C++. The concept is to develop the program using a Cross P

I want a C# Windows App Project Description: Windows App written in C# that can: Check for Internet connection Load dynamic web site If Internet connection drops rec

how to write a postfix expression calculator program using c#

What is the relationship between a class and an object? A class acts as a blue-print that explains the properties, states, and behaviors that are common to a number of objects.