Answer Posted / sandyni
Command object is used to connect the connection object to
data reader or dataset. and is used to execute queries and
stored procedures which are defined in the commandtext
property.
the main methods for command object property are....
1. ExecuteNonQuery()
2.ExecuteReader()
3.ExecuteScalar()
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What are the key events of sqlconnection class?
What are advantages of microsoft-provided data provider classes in ado.net?
Which is the feature of ado.net?
What is difference between executequery and executeupdate?
Describe the disconnected architecture of ADO.NET’s data access model.
Explian About DataAdapters
What are the major challenges in accessing data from a database?
What is the difference between executequery and executenonquery?
What does ado stand for?
Command objects uses, purposes and their methods.
How to add an aggregate column?
How can I retrieve two tables of data at a time by using data reader?
Which is faster entity framework or ado.net?
What is ado or jdbc?
What is difference between datatable and dataset?