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 404 redirect?
What kind of data we can store in viewstate?
Elaborate differentiation between Cache and Application?
To add a hyperlink column to the DataGrid which tag is used ?
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
What is the difference between the asp and asp.net?
Can two web application share a session and application variable ?
5 Answers Satyam, V3 Engineers,
I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do?
7 Answers eMids, Infotech, Integra, TCS, Wipro,
What is the difference between visual basic and asp.net?
What are various authentication mechanisms in ASP.NET ?
What is view state and how it works in asp net?
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)