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.
Write main difference between classic ADO and ADO.NET?
How one can retrieve the customized properties of the .NET application from a XML .config file?
State the reason why workflows are based on the Extensible Models.
Write about features that are added in the .NET Framework 4.0.
Illustrate Queues and Stacks?
Name some classes which is utilized to handle standard menu in MenuStrip control.
State the role of ScriptManagerProxy control?
Briefly explain Application Cache?
In what way we can check/uncheck every item in a CheckedListBox control in the .NET 4.0 framework?
Explain two properties of GridView control which specifies to turn on paging and sorting.
18,76,764
1957955 Asked
3,689
Active Tutors
1450981
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!