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 is Data Provider?
What is a sqldataadapter?
What is the difference between Datareader and Dataset?
What is data relation in ado.net?
Which parameter of ConnectionString is used to specify the name of the database?
Can you explain how to enable and disable connection pooling?
Explain what is datagrid with an example?
What are the different methods available under the sqlcommand class to access the data?
differences between ADO and ADO.NET
What is the difference between ADO and ADO.Net?
What is execute scalar in ado.net?
Define different execute methods of ADO.NET command object ?
What is ado recordset?
How can we load multiple tables in to dataset?
What is the functionality of data provider in ado.net?