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.
Write the name of two new properties that are further added in an ASP.NET 4.0 Page class?
Name the different methods provided by a DataSet object to create XML?
Write down some of the layout Panels of WPF?
Briefly explain the use of web.config?
By Visual Studio in ASP.Net, illustrate namespaces which are imported automatically?
Explain why does an organization needs to manage the workloads?
State different types of data providers existing in .NET Framework?
Differentiate between sliding-time expiration and absolute expiration?
By which method we can post a Web page to another Web page?
Explain WebParts controls in ASP.NET and in what way we can provide WebParts control functionality to the server control?
18,76,764
1952756 Asked
3,689
Active Tutors
1439857
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!