Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i m using visual studio 2008 and MS Access2007 as database.i dont know how to insert,update,edit and delete using c#.
Posted

1 solution

Hi,
you need to use ADO.Net. For instance,you need OleDbCommand, and OleDbConnection in order to connect to ACCESS and run commands. Take a look at these page for samples:

http://www.c-sharpcorner.com/uploadfile/puranindia/ado-net-application-using-ms-access-2007-database/[^]

Cheers.
 
Share this answer
 
v3
Comments
Member 8233601 4-Apr-12 8:37am    
this link is fine but i dont want to create database in any particular drive.its all upto user when he/she instal my application.i need that when my application get install everything will be created at path specified by the user.
Reza Ahmadi 4-Apr-12 8:47am    
Then you can do it in your Setup Application or Custom Installer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900