Difference between DataView and DataTable

Answers were Sorted based on User's Feedback



Difference between DataView and DataTable..

Answer / ilayaraja m

data view is used to filter and give sorting options that u
have u added to form or component at design time.
Alternatively u can use defaultview that is automatically
available for every data table .when u use defaultview , u
can specify filter and sorting options in code

Is This Answer Correct ?    13 Yes 1 No

Difference between DataView and DataTable..

Answer / ravindra reddy

data table contains datarows and datacolumns but dataview
means it will filter data in datatable.

Is This Answer Correct ?    11 Yes 3 No

Difference between DataView and DataTable..

Answer / tutu

Another difference is, DataView can not be serialized, where as DataTable can be serialized. So DataTable can be stored in ViewState but DataView can not.

Is This Answer Correct ?    6 Yes 3 No

Difference between DataView and DataTable..

Answer / kalai

Datatable->populated from the database you can changr your
data here.
Data View-> Just the separate page to display the datatable
values,u can change the value of the dataview also.it ll be
reflected in the parent table too(data base table)

Advantage: We need not wait till the server response.so
very fast.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More ASP.NET Interview Questions

Which is the parent class of the ASP.NET server control?

0 Answers   Sans Pareil IT Services,


What is session in web technology?

0 Answers  


What is operator overloading in dotnet

1 Answers  


Why session is used in asp.net?

0 Answers  


What do you mean by marshalbyref?

0 Answers  


Which type if caching will be used if we want to cache the portion of a page instead of whole page?

0 Answers  


Which template must you provide, in order to display data in a Repeater control?

1 Answers  


Tell about WebService in Asp.Net?

5 Answers   Accenture, CTS,


Fetch one page value to another page without using state-managment ?

0 Answers   HCL,


What is the main difference between Asp.net and Vb.net?

0 Answers  


What is Generic? explain clearly?

3 Answers   iGate,


How long should a session id be?

0 Answers  


Categories