Guest User

Untitled

a guest
Nov 18th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. SqlConnection conn = new SqlConnection(@"Data Source=(LocalDB)MSSQLLocalDB;AttachDbFilename=C:UsersRANBAH~1Documentstestlogin.mdf;Integrated Security=True;Connect Timeout=30");
  2.  
  3. SqlDataAdapter sda = new SqlDataAdapter("select count(*) from login where username ='" + textBox1.Text + "' and password='" + textBox2.Text + "'", conn);
Add Comment
Please, Sign In to add comment