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.
Specify the statement which replaces the multiple if-else statements in the code?
Describe about the characteristic of Anonymous type?
Write the code to choose an item in a ListView control programmatically in the C#?
Write down the three main points in WCF?
Briefly describe the term destructor?
Briefly describe about the XML elements.
State the use of the Panel control? Does it is displayed at the runtime.
Determine what is Message Contract in the WCF?
A Destructor is defined in a class that is developed by using the C# programming language, but the destructor is never executed. Why did this happen?
Name the latest features that added in .NET Framework 4.0?
18,76,764
1935156 Asked
3,689
Active Tutors
1420999
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!