Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

I am trying to establish a connection between ms access database 2007 and WPF in visual studio 2010 using c# .

I have a emp table name and one record .
My wpf has four text boxes and i want to display the data from ms access in those text boxes.

Since i am newbie to .net i want to know how to establish the connection and retrieve the records from the database.

Please can anyone suggest me any link to go through and i have googled lot of sites and got really confused with the topics .

So please help.

Thanks in advance.
Posted
Comments
[no name] 17-Oct-12 9:36am    
Don't see why you would be confused, http://www.dscripts.net/2009/01/20/connect-to-microsoft-access-mdb-database-using-csharp/ except use OLEDB.12 for your version of Access.
Sophia Ranjani Elango 17-Oct-12 9:43am    
Ok in the link Wes they given an example of console application but i am using wpf .
Please suggest me how to go about
[no name] 17-Oct-12 9:45am    
So what? The connection to your database and accessing it are exactly the same.

1 solution

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