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 |
Why sql Data Reader object not created
What are the advantages of ado.net?
How do you update database through dataset?
What is the difference between executequery and executenonquery?
What are the various methods provided by the DataSet object to generate XML?
What is the difference between dataset and datatable?
What is dbcontext and dbset in entity framework?
What is the use of SqlCommand object?
What is a datagrid?
Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
Differnces between oracle 9i and sql server?
2 Answers College School Exams Tests, Microsoft,
What are advantages of microsoft-provided data provider classes in ado.net?
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)