SQL Connectivity

I am building a C# Windows app.  I have a form and have also create a db.  I tested the db connectivity in Server Explorer and the test came back successfully.  According to my manual, I just need to drag the db item from the server explorer to my form designer to creation the connection.  When I do this nothing happens... what am I doing wrong

If I do the same thing in VS2003 the sqlConnection1 shows up, how do I accomplish the same thing with 2005



Answer this question

SQL Connectivity

  • perfect_alcon

    There could be a few things wrong, but I suggest that you check the second thing first - make sure you have the SQL2K5 client software installed. You can find that on your SQL2K5 CD.

    Although it refers to something called SMO, you can check out this article for a step-by-step explanation on the process of using C# and SQL.

    http://www.codeproject.com/useritems/SMODemo.asp

    Carpe Datum



  • SQL Connectivity