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 the use of SqlCommandBuilder?
What are the methods of XML dataset object?
What are two important objects of ADO.Net?
What is ado.net code?
What does ole stand for in excel?
Which database is the ado.net?
What is data control techniques?
Define data adapter?
What are the different methods by which we can populate a dataset?
Explain the difference between an ado.net dataset and an ado recordset?
Which is better ole db or odbc?
Data reader read and forward only, how is it possible to get 2 tables of data at a time?
Give an example that shows how to execute a stored procedure in ado.net?
What are all the different methods under sqlcommand?
Which object is used to add relationship between two Datatables?