Difference between DataView and DataTable
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
What is a pixel url?
what are the web form events available in asp.net?
Explain about the Class view window?
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?
how many databases and tables are uses in one project?
What is data cache in sql server?
Is asp net front end or backend?
what is client-server architecture in .net? and what is 3-tier architecture?
In which situation can you not use a viewstate?
How does the iis work?
what is difference between User Control,Custom Contro1,Web server control and template controls
How can we implement a identity (sql server) call in an asp.net page?