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 ado oledb and odbc?
What is an ado connection?
How to create dynamic gridview?
What does ole stand for in excel?
What is the difference between the clone() and copy() methods of the dataset class?
What is ado.net connection?
Define Execute Scalar?
What are advantages of microsoft-provided data provider classes in ado.net?
What is sqldatasource?
What is command class in ado.net?
What is execute reader in ado.net?
How to identify the updated rows in a dataset?
What are the types of databinding?
What is the role of the dataset object in ado.net?
Which method is used to sort the data in ADO.Net?