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 the namespaces which are required to enable the use of databases in the ASP.NET pages?
What are HTTP handlers in ASP.NET?
What are the layouts of ASP.NET Pages?
How one can put a border around the picture box?
Write down the command which is used to run a batch?
Elucidate Master Pages in ASP.NET?
Explain the Code Contracts?
What are the enrichment in the ClickOnce deployment in the .NET 4.0?
Where the ViewState information can be stored?
Is it possible to create a Windows Service by using WPF?
18,76,764
1942971 Asked
3,689
Active Tutors
1423461
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!