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

how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....

1 Answers   Ford,


What is the default provider in ado.net?

0 Answers  


Explain what is datagrid with an example?

0 Answers   C DAC, CDAC,


Explain the difference in record set and dataset?

0 Answers  


How can we add/remove row's in "datatable" object of "dataset"?

0 Answers  


The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx

0 Answers  


what is the syntax code to oledb to connect oracle

6 Answers   IBM,


What are the advantages of ado.net?

0 Answers  


What is ado recordset?

0 Answers  


Give an example that shows how to execute a stored procedure in ado.net?

0 Answers  


how to display empty table to datagrid

3 Answers   LG Soft,


How to check if the Dataset has records ?

0 Answers   NA,


Categories