private void RefreshDataSource() { LoaiDonVi = new Business.LoaiDonVi(); DataTable dt = LoaiDonVi.GetList(); if (dt != null) { PrepareDataSource(dt); EditDtgInterface(); } }
bool AddFlag; // xac dinh thao tac add hay edit public QLNS_LoaiDonVi() { InitializeComponent(); LoaiDonVi = new Business.LoaiDonVi(); }