Exemplo n.º 1
0
        private void DeletebunifuFlatButton_Click(object sender, EventArgs e)
        {
            DBconnect dBconnect = new DBconnect();

            dBconnect.Delete($"DELETE FROM customers WHERE CustomerName='{bunifuMaterialTextbox1.Text}'");
        }
Exemplo n.º 2
0
        private void btn_delete_Click(object sender, EventArgs e)
        {
            DBconnect db = new DBconnect();

            db.Delete("DELETE FROM students WHERE name='john'");
        }