Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. SqlConnection conn = new SqlConnection(WebConfigurationManager.ConnectionStrings["conString"].ConnectionString);
  2.  
  3. private void button2_Click(object sender, EventArgs e){
  4. SqlCommand cmd = new SqlCommand($"SELECT * FROM Alunos WHERE Numero ={txtNumero.Text}", conn);
  5.  
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement