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 is a string variable?
What is the use of data grid?
Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?
Explain what are the steps to connect to a database?
Which ado.net object is very fast in getting data from the database?
Why edit is not possible in repeater?
What is the role of the dataset object in ado.net?
What does executereader return?
What are two important objects of ADO.Net?
How can you identify whether or not any changes are made to the DataSet object since it was last loaded?
What are the parameters that control most of connection pooling behaviors?
What is ado.net components?
In how many ways we can retrieve table records count? How to find the count of records in a dataset?
how Sequence to connect and retrieve data from database using dataset?
How to create dynamic gridview?