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

Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

0 Answers  


How does u get record no from 5 to 15 from a dataset of 100 records?

0 Answers  


What is the default authentication mode for asp.net?

0 Answers  


How many object in c# asp .net

1 Answers  


Is asp.net a language?

0 Answers  


What are the types of assemblies and where can u store them and how ?

1 Answers   Patni,


Explain the differences between Server-side and Client-side code?

3 Answers  


What is the difference between a multi-layer and multi-tier applications?

0 Answers   Microsoft,


Can we use multiple web.config files in an sigle appliction?

3 Answers   IBS,


What is Response.Flush method ?

3 Answers   Keane India Ltd,


You are creating a Web site for Your company. You receive product lists in the form of XML documents. You are creating a procedure to extract information from these XML documents according to criteria that your users will select. When a user makes a request, you want the results of these requests to be returned as quickly as possible. What should you do? A . Create an XmlDataDocument object and load it with the XML dat Use the DataSet property of the object to create a DataSet object. Use a SQL SELECT statement to extract the requested dat B . Create an XmlDataDocument object and load it with the XML data. Use the SelectNodes method of the object to extract the requested data. C . Create an XPathDocument object and load it with the XML data. Call the CreateNavigator method to create an XPathNavigator object. Call the Select method of the XPathNavigator object to run an XPath query that extracts the requested data. D . Create an XmlReader object. Use the Read method of the object to stream through the XML data and to apply an XPath expression to extract the requested data.

1 Answers   Syntax Softtech,


Is it possible to perform data validations in the database?

1 Answers   Quest,


Categories