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
Explain what is datagrid with an example?
What is sqlconnection and sqlcommand?
What is dataset object? Explain the various objects in dataset.
What is fill method in ado.net?
What is difference between datatable and dataset?
How can we perform transactions in .net?
How would you connect to database using .NET?
What is a data control clerk?
Explain which name space is used to get assembly details?
Why do we need ado.net?
Explain the role of data provider in ado.net?
What is row state?
What is ado.net full form?
What is the difference between DataReader and DataSet in ADO.NET?
Name which operations can you not perform on an ado.net dataset?