Esempio n. 1
0
        private void bt_Delete_Click(object sender, EventArgs e)
        {
            int iSelectedProdTypeId = Convert.ToInt32(txt_TypeID.Text);

            if (iSelectedProdTypeId > 0)
            {
                DataAccessPOS dbPOS = new DataAccessPOS();
                dbPOS.Delete_ProductType_By_Id(iSelectedProdTypeId);
                bt_Exit.PerformClick();
            }
        }