Difference between datareader and dataset ?
Answer Posted / harsh v m
DataReader acts like Readerset of ADO.In ADO.NET we make
use of Datasets & in ADO, Readersets are used.
DataReader is read only,forward only type and Dataset is
disconnected type that can store more than one table.Hence
Datareaders are used for reading some data from database
only,but not for updating the data.Whereas Datasets can be
used for later purpose.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is the use of view state?
Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?
Do you know using sql cache invalidation?
What is event in asp.net?
What is a page life cycle? What are the events in a page life cycle?
In which event are the controls fully loaded?
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
What is the used of "ispostback" property?
Explain difference between dataset and recordset?
Do you know about caching with the datasource controls?
Define transparent caching with aop?
What is state management technique?
What is break mode?
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?
What is the maximum timeout we can set for Cookies?