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.
By which method we can sign out from the forms authentication?
Explain the role of a DISTINCT clause in the LINQ query?
Briefly describe key-based dependency and file-based dependency?
When.NET was developed?
Define the term “Array”.
What are the components of web form in ASP.NET?
Is it possible to validate a DropDownList by RequiredFieldValidator?
Write down the benefit of packaging over xcopy in the .NET?
Briefly explain about identifier.
What do you mean by the term non_deterministic finalization?
18,76,764
1946231 Asked
3,689
Active Tutors
1440928
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!