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.
Write down in brief the use of console application?
Explain the chief built-in objects in the ASP.NET?
Differentiate between the HyperLink control and the LinkButton control?
Write down the code for selecting an item in ListView control programmatically in the C#?
Is there a technique to suppress the finalize process within the garbage collector forcibly in .NET?
Explain the use of the PlaceHolder control? Is it possible to see it at runtime?
Write down the benefits of Hosting WCF in IIS?
What are the steps involve in Assembly execution?
Briefly describe the term destructor?
Describe the role of the JIT compiler in .NET Framework?
18,76,764
1934972 Asked
3,689
Active Tutors
1440436
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!