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 |
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
How does u get record no from 5 to 15 from a dataset of 100 records?
What is the default authentication mode for asp.net?
How many object in c# asp .net
Is asp.net a language?
What are the types of assemblies and where can u store them and how ?
Explain the differences between Server-side and Client-side code?
What is the difference between a multi-layer and multi-tier applications?
Can we use multiple web.config files in an sigle appliction?
What is Response.Flush method ?
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.
Is it possible to perform data validations in the database?