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 connection in ado.net?

0 Answers  


Define table relations?

0 Answers  


What is data relation?

0 Answers  


How does ado.net work?

0 Answers  


What is the significance of CommandBehavior.CloseConnection ?

0 Answers   NA,






List all the steps in order, to access a database through ado.net?

0 Answers  


What is difference between executenonquery and executequery?

0 Answers  


what is connection pooling ?

3 Answers   Vertex,


differences between ADO and ADO.NET

0 Answers   Microsoft,


i want 2 pass values(enterd in textbox)to table in sql server without using stored procedure in c#.plz tell me code with an example.

5 Answers   Softcon, Tecra,


Write steps of retrieving data using ado.net ?

3 Answers   Keane India Ltd,


How many major types of connection objects in ADO.NET?

0 Answers   MCN Solutions,


Categories