Interview Questions On ADO.NET :: What are the different steps to access a database through ADO.NET?

Ram Pothuraju




Create a connection to the database using a connection object.

Open the Database Connection.

Invoke a command to create a Dataset object using an adapter object.

Use the Dataset object in code to display data or to change items in the database.

Invoke a command to update the database from the Dataset object using an adapter object.

Close the database connection.

Post a Comment

0Comments

Post a Comment (0)