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.
Name the class which is inherited when the ASP.NET server control is added to the Web form?
Which event controls are completely loaded?
Distinguish the terms ADO.NET Dataset and an ADO Recordset?
List out the difference between the “dynamic” and “var” data types?
Compare and contrast in brief the C# and Visual basic.NET?
How to identify that whether any changes are made or not to a DataSet object while it was last loaded?
What is the function of "EnableViewState" property? Why do we require it On or Off?
Illustrate the characteristics of the reference-type variables which are supported in a C# programming language.
Describe the function of a SizeMode property of a PictureBox control?
Write major difference between function and sub-procedure?
18,76,764
1932303 Asked
3,689
Active Tutors
1423327
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!