Please I am now making a project using C# and I want to connect to a database how to do this using visual studio 6?
Thanks
hi..
you can make use of the connectionstring as shown below:
string str = "Data Source=*name of your SQL server*;Initial Catalog=*your database name*;Integrated Security=True";
SqlConnection cn = new SqlConnection(str);
string query="your query statement";
cn.Open();
//
rest of the code!!
//