Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SqlConnection sql = new SqlConnection("Data Source = nombreServidor, Puerto;"+
- "Network Library = DBMSSOCN; Initial Catalog = dashboard;"+
- "User ID = XXXX; Password = XXXXX");
- try {
- sql.Open();
- }catch(Exception e)
- {
- Console.WriteLine(e.ToString());
- }
- //declaramos la variable para comandos
- SqlCommand comando = new SqlCommand();`
Add Comment
Please, Sign In to add comment