How to access database using ADO.Net

 Posted by Karthikanbarasan on 1/4/2011 | Category: ADO.NET Interview questions | Views: 2719 | Points: 40

1. Create a connection to the database using a connection object
2. Invoke a command to create a DataSet object using an adapter object
3. Use the DataSet object in code to display or to change items in the database
4. Invoke a command to update the database from the DataSet object using an adapter object
5. Close the database connection (if you explicitly opened it)

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Karthikanbarasan