What is the use of command objects?

Answers were Sorted based on User's Feedback



What is the use of command objects?..

Answer / rajesh

In order to execute Sql commands and stored procedures we
need command objects

Is This Answer Correct ?    21 Yes 0 No

What is the use of command objects?..

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

Post New Answer

More ADO.NET Interview Questions

What is data relation?

0 Answers  


How to generate a single aggregate?

0 Answers  


what is meant by connection pooling and event pumbling in ado.net

3 Answers   TCS,


Why DataReader is Forward Only?

16 Answers   IBM, NIIT,


what is different between SqlCommand object and Command Behaviour Object

3 Answers  






Explain what is datagrid with an example?

0 Answers   C DAC, CDAC,


what are the differences between dataset and datareader?

4 Answers   Choice Solutions,


What are typed and untyped dataset?

0 Answers  


What is bubbled event?

0 Answers  


What is XML serialization

0 Answers   Digital GlobalSoft,


How to check if a datareader is closed or opened? IsClosed()

0 Answers  


What is a datatable?

8 Answers   State Bank Of India SBI,


Categories