Click here to Skip to main content
15,918,343 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have multiple Access 2007 databases (accdb files) that are identical and i want to merge them into one using windows form using c# code but i don't know how to do it because i'm a beginner in c#?
Posted
Comments
[no name] 18-Mar-13 16:54pm    
"but i don't know how to do it because i'm a beginner in c#?", if that is your question then the answer is probably "yes". Otherwise you are going to want to research connecting to Access databases and using the "INSERT INTO" SQL statement.
Sergey Alexandrovich Kryukov 18-Mar-13 17:02pm    
This is not a well-formed question at all (I am not talking about it's validity, not even well-formed). So the correct answer, is you will, would be "42". :-)
—SA
pouroutis 18-Mar-13 17:10pm    
database are identical but i want to keep all data into one because all datatables have only one or two rows because i use access form for questionnaires from different students in my university and they sent me their answers in database table so i must open all files one by one and i want to greate a windows form application because i am going to take some results from the answers and use the results for future presentations .
[no name] 18-Mar-13 17:14pm    
So go ahead and do that. There is nothing stopping you. That still does not change the fact that you will have to do some research on how to connect to a database and execute queries. No one here is going to write all this code for you.
Sergey Alexandrovich Kryukov 18-Mar-13 17:18pm    
Right. And I even added my answer to it. :-)
—SA

1 solution

Please start here: http://bit.ly/XV6ccH[^].

I'm pretty much sure that some posts you can find this way are written by experienced authors, not beginners. :-)

—SA
 
Share this answer
 
v2
Comments
pouroutis 18-Mar-13 17:15pm    
my question is how can i merge the databases into one with c# code??
Sergey Alexandrovich Kryukov 18-Mar-13 17:17pm    
Got it. I modified my answer. Please try again. :-)
—SA

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