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.
Describe DataReader object?
Name the events which occur when the client requests the ASP.NET page from IIS server?
Which method is used in .NET to enforce garbage collection?
Describe the endpoint in the WCF service in brief.
Explain why SiteMapPath control is being referred as eyebrow or breadcrumb navigation control?
Describe disconnected architecture of the ADO.NET's data access model?
How Web services can be prevented from the unauthorized access?
Briefly explain about ToolTip control. In what way we can associate it with another control?
Illustrate Application State in the ASP.NET.
List all templates of a Repeater control?
18,76,764
1951151 Asked
3,689
Active Tutors
1448278
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!