uses of Command object in ADO.NET
List the usages of the Command object in ADO.NET?
Expert
The usages of the Command object in AD0.NET are:
a) Command object in the AD0.NET executes a command against the database and retrieves a DataReader or DataSet object. b) It also executes commands such as, UPDATE, INSERT or DELETE command against the database. c) All the command objects are derived from the DbCommand class. d) The command object is characterized by the two classes: and OleDbComm and SqlCommand.
The Command object offers three methods in order to execute commands in the database:
a) The ExecuteNonQuery() method, which executes commands and also does not return any value. b) The ExecuteReader() method, which returns a result set by using the DataReader object. c) The ExecuteScalar() method, which returns single value from the database query.
Briefly describe garbage collection? Differentiate between garbage collections in .NET 4.0 and previous versions?
Explain the ToolTip control and how it can be associated with the other controls?
In what way we can display the icon during runtime on a StatusStrip control?
Explain abstract classes and List the different characteristics of an abstract class?
Illustrate the difference between import System.Data.SqlClient and System.Data.Oledb in brief?
How Web services can be prevented from the unauthorized access?
State the difference between GroupBox and Panel control?
What is WSDL?
Explain DataAdapter class in the ADO.NET?
Write the difference between Arrays and Collection?
18,76,764
1940276 Asked
3,689
Active Tutors
1437662
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!