Exemple #1
0
        private void btnDelete_Click(object sender, EventArgs e)
        {
            string      id = txtID.Text;
            DataProcess dt = new DataProcess();

            if (dt.DeleteSupplier(id) == true)
            {
                MessageBox.Show("Delete success!!");
                LoadData();
            }
            else
            {
                MessageBox.Show("Error");
            }
        }