Guest User

Untitled

a guest
Oct 31st, 2017
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.45 KB | None | 0 0
  1. //crendenciais por http GET
  2. //username = HugoAbreu || COLDTECH/HugoAbreu
  3.  
  4. string _username = _Context.Request.QueryString["username"];
  5. string _password = _Context.Request.QueryString["password"];
  6.  
  7. SqlConnection con = new SqlConnection();
  8. con.ConnectionString = "Data Source = 10.1.2.3; Initial Catalog = SIG_20171005; Persist Security Info = False; Integrated Security = false;User Id=" + _username + "; password= " + _password + ";";
  9. con.Open();
Add Comment
Please, Sign In to add comment