Why sql Data Reader object not created

Answer Posted / boopathiraj

we can't create an object for data reader because the
datareader is used to retrive the data's from the database
and it uses only some small amount of databases unlike
dataset.We can just create the variable for the datareader
is possible.And then THE CONSTRUCTORS WAS NOT DEFINED BY
SYSTEM.DATA.SQLCLIENT.SQLDATAREADER.(i.e)when you typed
(System.data.sqlclient)upto this is possible if you use
(System.data.sqlclient)(.sqldatareader)--->Not possible and
it is applicable when you use microsoft visual studio.net

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can provide data to ado.net?

756


Which is faster sqldataadapter and sqldatareader?

706


Define the data provider classes that is supported by ado.net?

744


What is ado.net tutorial?

689


What is the use of SqlCommandBuilder?

868


What are the major challenges in accessing data from a database?

756


Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?

826


Explain executenonquery?

805


What are typed and untyped dataset?

778


Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!

1876


How to bind the controls(best practice) comboboxes to the data in the dataset?

794


Name which operations can you not perform on an ado.net dataset?

708


What are the advantages of ado.net?

683


How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

796


What is the use of sqldatareader class?

676