What is the use of command objects?
Answers were Sorted based on User's Feedback
Answer / rajesh
In order to execute Sql commands and stored procedures we
need command objects
Is This Answer Correct ? | 21 Yes | 0 No |
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 |
What is connection in ado.net?
Define table relations?
What is data relation?
How does ado.net work?
What is the significance of CommandBehavior.CloseConnection ?
List all the steps in order, to access a database through ado.net?
What is difference between executenonquery and executequery?
what is connection pooling ?
differences between ADO and ADO.NET
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.
Write steps of retrieving data using ado.net ?
How many major types of connection objects in ADO.NET?