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
What are the steps to connect to a database?
Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.
Do you use stored procedure in ado.net?
What is ado rdo dao in visual basic?
Explain how to copy the contents from one table to another table and how to delete the source table in ado.net?
Which method is used to sort the data in ADO.Net?
Which method in OLEDBAdapter is used to populate dataset with records?
Why do we need ado.net?
What are the pre-requisites for connection pooling?
What are the Data providers in ADO.Net?
What is the hierarchy of data in databases?
What does executereader return?
Define Execute Scalar?
Explain the difference between an ado.net dataset and an ado recordset?
What is sqldatasource?