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

Where do you store connection string ?

3 Answers   Digital GlobalSoft,


What does adodb stand for?

0 Answers  


What is the functionality of data provider in ado.net?

0 Answers  


What is an ADO.Net?

0 Answers  


Explain the dataadapter class in ado.net?

0 Answers  


What property must be set and what method must be called in your code to bind the data from some data source to the Repeater control?

0 Answers  


Why is stored procedure used in ado.net?

0 Answers  


Explain the two fundamental objects in ado.net?

0 Answers  


What is ado and rdo?

0 Answers  


Explain sqlconnection object?

0 Answers  


what are the two key events for the sql connection class? explain the differnce between the two.

2 Answers   HCL, NIIT, Zensar,


What are the main differences between classic ado and ado.net?

0 Answers  


Categories