Command object in ADO DOT NET
List the usages of Command object in ADO.NET?
Expert
The usages of the Command object in AD0.NET are as follows: i. The ExecuteReader() method: It returns the result set by using a DataReader object.
ii. The ExecuteNonQuery() method: It executes a commands and does not return any value,
iii. The Command objects in the AD0.NET performs a command against a database and regain a DataReader or a DataSet object.
iv. It performs DELETE, INSERT, or UPDATE, command against a database.
v. Command object is represented by the two classes: OleDbCommand and SqlCommand.
vi. Command object gives three methods to perform commands on a database
vii. The ExecuteScalar() method returns single value from the database query.
viii. Each command objects are derived from the DbCommand class.
Differentiate between the ASP.NET session and a ASP session?
In what way we can display the icon during runtime on a StatusStrip control?
Specify the requirements to run ASP.NET AJAX applications on the server?
What is the use of Global.asax file?
Describe the role of the JIT compiler in .NET Framework?
Describe the endpoint in the WCF service in brief.
What is data type and how many types of data types are there in .NET ?
How we can populate the dataset before querying the DataSet object by using LINQ to DataSet?
Elucidate the types of Authentication?
List the usages of the Command object in ADO.NET?
18,76,764
1956693 Asked
3,689
Active Tutors
1417291
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!