Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SqlConnection conn = new SqlConnection(@"Data Source=(LocalDB)MSSQLLocalDB;AttachDbFilename=C:UsersRANBAH~1Documentstestlogin.mdf;Integrated Security=True;Connect Timeout=30");
- 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