what's the Difference between DataView and DataTable?

Answer Posted / kamalakannan

1. Filter and sort the datatable or dataset.

2. select distinct field from the filtered dataview.

3. Datatable select function gives datarow array, but
dataview gives the datatable. The function easy to return
the dataview.

4. code will be reduced compare than datatable select
function.

Kamal..

Is This Answer Correct ?    8 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by for each loop?

665


Write a program to find the angle between the hours and minutes in a clock

686


What is difference between abstract class and interface in c#?

684


In which way you can convert a value-type to a reference-type?

705


What is the default value of decimal in c#?

682


How Reflection is used and what it's significance ?

711


List down the differences between public, static and void keywords?

654


What is global asax in c#?

716


What is sqldatareader c#?

662


What is the difference between selection and projection?

637


How can I make sure my c# classes will interoperate with other .net languages?

735


Name some properties of thread class.

762


What kind of the information stored inside the assembly?

749


Are c and c# the same thing?

658


How does c# generics and c++ templates compare?

661