Command object in ADO DOT NET
List the usages of Command object in ADO.NET?
Expert
The usages of the Command object in AD0.NET are as follows: i. The ExecuteReader() method: It returns the result set by using a DataReader object.
ii. The ExecuteNonQuery() method: It executes a commands and does not return any value,
iii. The Command objects in the AD0.NET performs a command against a database and regain a DataReader or a DataSet object.
iv. It performs DELETE, INSERT, or UPDATE, command against a database.
v. Command object is represented by the two classes: OleDbCommand and SqlCommand.
vi. Command object gives three methods to perform commands on a database
vii. The ExecuteScalar() method returns single value from the database query.
viii. Each command objects are derived from the DbCommand class.
State the advantages Web services have over the Component Object Model (COM) and also the Distributed Component Object Model (DCOM)?
Explain the function of WebpartListUserControlPath property of the DeclarativeCatalogPart control?
What is connection pooling? And name the pre-requisites used for connection pooling?
What will happen if the ASP.NET server control with the event-handling routines is absent from its definition?
Specify the statement which replaces the multiple if-else statements in the code?
What is .NET Framework? Specify its applications?
Explain about standard query operators in LINQ?
Write down the command which is used to run a batch?
What is the difference between HTTP-Post and HTTP-Get?
How docking is different from anchoring?
18,76,764
1932987 Asked
3,689
Active Tutors
1421427
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!