Ejemplo n.º 1
0
 private void btnDelete_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Bạn có muốn xóa sản phẩm ?", "Thông báo", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
     {
         productbll.Deleteproduct(Int32.Parse(dgvProduct.Rows[d].Cells[0].Value.ToString()));
         hienthi();
     }
 }