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

What is a pixel url?

0 Answers  


what are the web form events available in asp.net?

0 Answers  


Explain about the Class view window?

0 Answers  


You have two buttons in web form and i clicked on one of the button, so how do i find which button i've clicked on the form in my page load?

15 Answers   INDUS,


how many databases and tables are uses in one project?

2 Answers  






What is data cache in sql server?

0 Answers  


Is asp net front end or backend?

0 Answers  


what is client-server architecture in .net? and what is 3-tier architecture?

1 Answers  


In which situation can you not use a viewstate?

0 Answers  


How does the iis work?

0 Answers  


what is difference between User Control,Custom Contro1,Web server control and template controls

1 Answers  


How can we implement a identity (sql server) call in an asp.net page?

0 Answers  


Categories