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 owin authentication?
What are resource file and how do we generate resource file?
What is the life cycle of an asp.net page?
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 to use DevExpress controls
What is view state and how this can be done and was this there in asp ?
3 Answers Accenture, BirlaSoft, CTS, Mphasis,
What are the data types is possible to store in session? and can we store dataset in session?
What are the ways to sending the data in ASP.NET page?
What are the advantages of Web API?
How can we create Tree control in asp.net?
What r Callbacks in ASP.NET?
Name some asp objects?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)