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 a datareader object?

0 Answers  


Do you use stored procedure in ado.net?

0 Answers  


What is dataadapter in ado.net?

0 Answers  


How to store data in memory?

0 Answers  


What are the Features of a dataset

0 Answers   BirlaSoft,






What is difference between ado.net and asp net?

0 Answers  


What is a column variable?

0 Answers  


What is ado.net in mvc?

0 Answers  


how Sequence to connect and retrieve data from database using dataset?

0 Answers  


How can we add relation between tables in a dataset?

0 Answers  


What do you know about ado.net's objects?

0 Answers  


What is XML serialization

0 Answers   Digital GlobalSoft,


Categories