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 |
Which is the parent class of the ASP.NET server control?
0 Answers Sans Pareil IT Services,
What is session in web technology?
What is operator overloading in dotnet
Why session is used in asp.net?
What do you mean by marshalbyref?
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
Which template must you provide, in order to display data in a Repeater control?
Tell about WebService in Asp.Net?
Fetch one page value to another page without using state-managment ?
What is the main difference between Asp.net and Vb.net?
What is Generic? explain clearly?
How long should a session id be?