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 an orm, and why would you use one instead of plain old ado.net?
What is microsoft ado.net?
What Is Difference Between Ado And Ado.net?
How to add a javaScript function in a datagrid?
What is ado.net in mvc?
What providers does ado.net uses internally ?
What is the difference between SqlCommand and SqlCommandBuilder?
What are the two fundamental objects in ADO.NET?
What is the difference between executequery and executenonquery?
How you will set the datarelation between two columns?
Explain the difference in an abstract class and an interface?
How do you filter the data in datagrid?
2 Answers Apps Lab, Choice Solutions,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)