private void button1_click(object sender , EventArgs e) { sql connection Conn= new sql connection("Server=. ; DataBase=BooksDB ; Integrated Security =True"); sqlCommand Comm = new sqlCommand ("Delete From Books Where Author = N'"+cbxAuthor.SelectedValue + "'" , conn); conn.open(); Comm.ExecuteNonQuery(); MessageBox.Show("Sucess"); conn.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)