Can a DataReader persist data ?

Tuesday, August 4, 2009


No.



www.codecollege.NET

Which is faster among DataSet and DataReader ? Why ?


DataReader is faster as it has only one record at a time, and Dataset is slower as it fetches the entire table or set of tables.



www.codecollege.NET

What's use of "DataView" ?


It is used for sorting and finding data with in DataTable. .



www.codecollege.NET

What is the name of the method which reverts changes made to the DataSet?


The Method which is called to save the changes in a DataSet is,
RejectChanges().



www.codecollege.NET

What is the name of the Method which is called to save the changes in a DataSet ?


The Method which is called to save the changes in a DataSet is,
AcceptChanges().



www.codecollege.NET

Can we have multiple threads in one App domain ?


Yes.



www.codecollege.NET

What are two different types of remote object creation mode in .NET ?


Object can be created using Remoting in two different ways , they are :
1. SAO (Server Activated Objects)
It is also called as Well-Known call mode. It is stateless.
2. CAO (Client Activated Objects)
It has state.



www.codecollege.NET
Blog Widget by LinkWithin