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 |
how Sequence to connect and retrieve data from database using dataset?
What is bubbled event?
How to Handle the exceptions in Sqlsrver2000
Why do we serialize data?
What is the difference between connected and disconnected environment?
What are two types of transaction supported by ado.net?
Explain sqlconnection object?
once data is fetched into dataset connection gets closed. but in datareader connection is always maintained...then why datareader is fast and mainly recommended ?
How do we invoke queries from the application ?
What are all features of ADO.Net?
What are all the commands used with Data Adapter?
What is the difference between data grid and data repeater?
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)