public void ReloadData() { try { Contracts_AllowancesBO aContracts_AllowancesBO = new Contracts_AllowancesBO(); colSalaryPlus.DisplayFormat.FormatType = FormatType.Numeric; colSalaryPlus.DisplayFormat.FormatString = "{0:0,0}"; colContracts_Allowances_RealSalaryPlus.DisplayFormat.FormatType = FormatType.Numeric; colContracts_Allowances_RealSalaryPlus.DisplayFormat.FormatString = "{0:0,0}"; dgvContracts_Allowances.DataSource = aContracts_AllowancesBO.Select_ByContractsAllowances_Disable(false); } catch (Exception ex) { MessageBox.Show("frmLst_Contracts_Allowances.ReloadData\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }