Click here to Skip to main content
15,881,139 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I'm working on a project that imports an excel file, edit it and then export it as an excel file. The thing i need is that i make a database for my project and save the info from data grid view to it and i can use that info in database and recall them to data grid view and use for calculations. The database i need is Microsoft Access. But my problem is i don't know how to do it and i want to integregate datagridview and ms-access database with each other. I want to save the info in data table in project itself, in a ms-access file, jsut blike exporting the onfo to an excel file
if you give some codes and instructions too, i'd be grateful
thanks
Posted
Updated 22-Sep-15 20:42pm
v3

1 solution

If you aren't sure how to do something, then your first port of call should be Google, they can answer questions a lot more quickly than posting them here...

A very quick search using your subject as the search term gave nearly 300,000 results: Google "datagridview and ms-access database"[^]
That will start you on the basics, and you can "branch out" from there.

In future, please try to do at least basic research yourself, and not waste your time or ours.
 
Share this answer
 
Comments
Al_AhAb 23-Sep-15 3:18am    
if i could get the results i wnated i wouldnt be here
i've searched in google before you say that
OriginalGriff 23-Sep-15 3:34am    
You are not going to find a "complete solution" to exactly what your project requires: you will have to look at each part of it in isolation, and design a system which brings them together so they work.

Google will give you the info you need about the parts - it's up to you from then. And if you had looked even briefly at Google you would have found how to combine Access and a DGV...which is exactly what you asked for.

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