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.
In what way we can check/uncheck every item in a CheckedListBox control in the .NET 4.0 framework?
What data type does the Range Validator control support?
What do you understand by the term states in ASP.NET?
Name the interface that executes the standard query operators in the LINQ?
Differentiate between publishing and deploying an application?
Define the execution process of managed code?
Differentiate Skip and Take clauses?
Explain briefly about Object Relational Designer (0/R Designer)?
What is the function of DialogResult property of the Button control?
Describe code access security (CAS)?
18,76,764
1950881 Asked
3,689
Active Tutors
1456954
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!