how to connect .NET and SQL 2008

  • Hello All

    I have installed .NET and SQL 2008 on a single laptop.

    I want to make the connectivity between my .NET(C#) application to SQL Server.

    I'm using .NET 2008.

    How can I do this?

  • Friend what type ofconnectivity sql server uses to store database.Is your application needed database?

    Otherwise SQL has inbuilt .net

    Thanks

  • Do you want to make a connection string?

    _____________________________________________
    One ounce of practice is more important than tonnes of dreams

  • Yes,

    What will be the connection string for Stand alone computer?

    and what if the computer is connected in network?

    I have tried both way but the error is like this "connection error" or sometimes "Connection Can't be established server is busy"

    I don't know where the server is busy and how to solve this error? :crying:

  • How did you create the connection string? Using by any control? If you used any control there will be a "Test Connection" button. Did you test that to check the connection is successful or not?

    _____________________________________________
    One ounce of practice is more important than tonnes of dreams

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply