Exemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            int Id = Convert.ToInt32(dataGridView1.CurrentRow.Cells[0].Value);

            _productDal.delete(Id);
            ProductsLoad();
            MessageBox.Show("Deleted!");
        }