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
Which is faster sqldataadapter and sqldatareader?
What are the different ado.net namespaces are available in .net?
What is csdl entity framework?
What are the difference between readonly vs. Const?
Give few examples of datareader that is used in different dataproviders.
What are all the different authentication techniques used to connect to MS SQL Server?
What is partial class?
What is ado.net tutorial?
What is the difference between Response.Expires and Reponse.ExpiresAbsolute?
What is bubbled event can you please explain?
What is connection in ado.net?
What is the difference between statement and preparedstatement interface?
How to add a check box or a dropdown list to a column in a datagrid?
What is the role of clr?
How to connect and retrieve data from database using dataset