What is the use of command objects?
Answers were Sorted based on User's Feedback
Answer / rajesh
In order to execute Sql commands and stored procedures we
need command objects
Is This Answer Correct ? | 21 Yes | 0 No |
Answer / 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 |
What is data relation?
How to generate a single aggregate?
what is meant by connection pooling and event pumbling in ado.net
Why DataReader is Forward Only?
what is different between SqlCommand object and Command Behaviour Object
Explain what is datagrid with an example?
what are the differences between dataset and datareader?
What are typed and untyped dataset?
What is bubbled event?
What is XML serialization
How to check if a datareader is closed or opened? IsClosed()
What is a datatable?
8 Answers State Bank Of India SBI,