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.
How we can choose the color from a ColorDialog box?
Name the three states which are set in a CheckState property of the CheckBox?
Write down in brief the various types of Triggers in the WPF?
What is the concept of CAS?
What is data type and how many types of data types are there in .NET ?
Specify the way to suppress the final procedure inside the garbage collector forcibly in .NET?
Whether XCOPY copies the system files and the hidden files or not.
Define Query String? Explain its advantages and disadvantages?
State the main components of .NET Framework?
Differentiate between Web server controls and HTML?
18,76,764
1928235 Asked
3,689
Active Tutors
1433213
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!