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.
How we can decide whether we should deploy application or publish application?
Illustrate Queues and Stacks?
Is it possible to set which kind of comparison we want to perform by the CompareValidator control?
List the advantages of the DLR?
Define Web server controls as well as HTML?
What is an Intermediate Language (IL)?
Briefly describe the function of a CheckState property of a CheckBox control?
How do dates, numbers, and currencies in a text box are formatted?
Name the data type which the RangeValidator control supports?
How can we check that whether all the validation controls on the Web page are valid and proper?
18,76,764
1955231 Asked
3,689
Active Tutors
1414685
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!