What?s the role of the DataReader class in ADO.NET connections?

Answers were Sorted based on User's Feedback



What?s the role of the DataReader class in ADO.NET connections?..

Answer / ajay singh negi

DataReader object is a simply used to read data from the
result sets and because of this feature we call this object
as forward only or read only cursor. It requires a live
connection with the data source. Threw looping you can
efficiently access all or a part of data from the result
set. Note you cannot directly initialize a DataReader
object. Execute reader method of the command object is used
to obtain a valid DataReader object. After using DataReader
you need to close the connection otherwise it is stayed
alive and it is explicitly closed.

Is This Answer Correct ?    6 Yes 0 No

What?s the role of the DataReader class in ADO.NET connections?..

Answer / guest

returns a read-only dataset from the data source when the
command is executed.

Is This Answer Correct ?    8 Yes 3 No

What?s the role of the DataReader class in ADO.NET connections?..

Answer / satyambabu

the data reader on the other hand is directly connected to
the database management syatem .it is passess the all
quries to database managemant system,which execute them and
returns the result back to the application.
datareader no maintain the buffer
it is used to small number of operations

Is This Answer Correct ?    5 Yes 1 No

What?s the role of the DataReader class in ADO.NET connections?..

Answer / senthil kumar

DataReader has play vital role in ADO.NET when retrieve the
dataset.Its forward and read only optiion.They are not have
the pointer.It can only move the record with value
pointer.It is effiecnt data retrieval mechnism in ADO.Net.

Is This Answer Correct ?    5 Yes 1 No

What?s the role of the DataReader class in ADO.NET connections?..

Answer / kamal

This is used to retrieve data from a data source in read-
only and forward-only mode

Is This Answer Correct ?    3 Yes 1 No

What?s the role of the DataReader class in ADO.NET connections?..

Answer / santosh

Data reader is belongs to connecting architectutre.It read
the the data in forward direction.It retrive data from
database through sqlcommand.It is faster as comapre to data
Adupter in disconnecting architecture.

Is This Answer Correct ?    2 Yes 3 No

What?s the role of the DataReader class in ADO.NET connections?..

Answer / ilayaraja

it is used to retrieve the records in forward only
manner.it is always connected with data source. also fast
retrieval of records when compared to other (dataset..).

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More ADO.NET Interview Questions

Describe the command object and its method.

0 Answers  


What is ado data control?

0 Answers  


What is the difference between oledb sql server and oledbdotnet provider?

0 Answers  


How to read data with the sqldatareader ?

0 Answers  


how would i implement dropdownlist in gridview using c#

2 Answers  






What provider ADO.net use by default ?

5 Answers   Accenture, BirlaSoft, Wipro,


Which are the different IsolationLevels ?

3 Answers  


What is the provider and namespaces being used to access oracle database?

5 Answers   E2E, Microsoft,


Do we use stored procedure in ADO.Net?

0 Answers  


Define partial class?

0 Answers  


What is the difference between executequery and executenonquery?

0 Answers  


describe the dataset object in ado.net.

0 Answers  


Categories