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.
State the use of the Connection object?
What do you mean by XBAP? Describe in brief.
Write differences between Int32 and Int.
Write the difference between adding items into cache by a Add() method and by the Insert() method?
Briefly describe the ADO.NET architecture?
How can you avoid a class from overriding in C# and Visual Basic?
List some of the new controls which are introduced in the ASP.NET AJAX Control Toolkit?
What is Class?
Explain the use of Role-based security?
Illustrate the difference between System.Windows.dll and System.Windows.Browser.dll?
18,76,764
1938324 Asked
3,689
Active Tutors
1412429
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!