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 the current version of entity framework?

0 Answers  


About ADO and its objects ?

1 Answers   DELL,


What is the difference between Datareader and Dataset?

0 Answers  


What are three methods for displaying data in a syncfusion datagrid

0 Answers  


How does ado.net work?

0 Answers  






What is difference between connected and disconnected architecture in ado.net?

0 Answers  


Is bulk insert faster than insert?

0 Answers  


Explain advantages of ado.net?

0 Answers  


What are the three Ado objects?

6 Answers   Microsoft, StarSoft,


Explain the namespaces in which .net has the data functionality class.

0 Answers  


What is difference between sqldatareader and sqldataadapter?

0 Answers  


Difference between ADO and ADO.net ?

11 Answers   Accenture, BirlaSoft, College School Exams Tests, Krest, Red Apple,


Categories