Click here to Skip to main content
15,843,623 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How I connect a database with an application made in C#?

1 solution

Have a look in the System.Data namespace, there are a whole bunch of classes in there for dealing with databases.

You can also download connectors from Oracle for Oracle and MySQL

You then configure the connections for the appropriate database[^]

Visit MSDN there are some good intro videos there to get you started.[^]

Here is a beginners article on CP about the subject which may also be worth a read.
Beginners guide to accessing SQL Server through C#[^]
Share this answer
thatraja 8-Jan-11 22:01pm    
Good answer Auld
Yusuf 8-Jan-11 22:39pm    
+5 for completeness

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