connection.ConnectionString = @"Server=localhost;Integrated Security=SSPI";
con = New SqlConnection("Data Source=MachineNameOnWhichDataBaseIsPlaced;Initial Catalog=DataBasename;Persist Security Info=True;User ID=SQLServerId;Password=Password")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)