Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SqlConnection conn = new SqlConnection(WebConfigurationManager.ConnectionStrings["conString"].ConnectionString);
- private void button2_Click(object sender, EventArgs e){
- SqlCommand cmd = new SqlCommand($"SELECT * FROM Alunos WHERE Numero ={txtNumero.Text}", conn);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement