DataReader object
Explain DataReader object?
Expert
DataReader object helps in accessing the data from the database in a read-only, forward-only mode. Base class for all DataReader objects is the DbDataReader class. The DataReader object is returned as a result of calling the ExecuteReader() method of the Command object. The DataReader object allows faster retrieval of the data from the databases and develops the performance of .NET applications by giving the rapid data access speed. Though, it is less preferred as compared to theDataAdapter object since the DataReader object requires an Open connection till it completes reading all the rows of specified table.
An Open connection required to read the data from large tables consumes many resources of the system. When multiple client applications at the same time access a database by using DataReader object, performance of the data retrieval and other related processes gets significantly reduced. In this case, database might refuses the connections to other .NET applications until other clients frees the resources.
List the types of generations there are in a garbage collector?
Write the difference between an interface and abstract class?
State the different types of authentication techniques which are used in connection strings to connect applications of .NET with Microsoft SQL Server?
Describe the role of the DataSet object in the ADO.NET?
Define the function of a ViewState property?
What will happen if the ASP.NET server control with the event-handling routines is absent from its definition?
Explain the several methods required by the DataSet object for generating the XML?
Briefly describe the tuples?
Explain the use of Windows Installer.
Explain Windows services?
18,76,764
1927146 Asked
3,689
Active Tutors
1435136
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!