i am a student...i am zero knowloedge about sql neither c#.my job is to build a database.i dont really know how i can do it and how to do it?i had tried a tutorial for c# from other website but the tutorial using sql 2005.but i had download sql 2008.i also had tried using ms access to do my database but one of my friends told me that my project cant use ms access.can give me some advice?how to create a database in visual c# using sql?

Recommended Answers

All 2 Replies

Hi!

It does not matter, what kind of database you are using. With the correct ConnectionString and the Correct Database Provider you can connect to each kind of database (oracle,access,Sql-Server (2005,20008),.....)

A lot of connection-Strings are listed here:
http://www.connectionstrings.com/

And a short C#-Example connecting to DB with a connectionString:
http://csharpcomputing.com/Tutorials/Lesson17.htm

hope this will help you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.