For this first go to server explorer and right click it. then go to Add connection. Then a screen will come. In that you can enter the server name and login credentials (username password or windows authentication). Then select the relevant database and use Test Connection to verify the connection. (Windows Authentication takes your windows credentials to log in to SQL Server, If you cant find the Server name open the SQL Server Management Studio and go to server properties.)
Read.. (How to Create a DataSet, DataTables, Table Adapter Using C#.NET Wizard)
Comments