Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string Source = "aonde o banco esta";
- string Banco = "qual banco";
- string User = "nome do usuario";
- string Senha = "senha do usuario";
- SqlConnection NewConexao = new SqlConnection("Data Source="+ Source
- +"; Initial Catalog="+ Banco
- +"; User Id="+User
- +"; Password="+Senha
- +"; Integrated Security=false");
- NewConexao.Open();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement