void BindTax() { oblTax = new Store.Tax.BusinessLogic.Tax(); try { obTaxList = oblTax.GetAllTaxList(0, 0, ""); //objExamCatgList = oblExamCategory.GetAllExamCategoryList(0, 0, ""); if (obTaxList != null) { dgvTax.DataSource = obTaxList; dgvTax.DataBind(); } else { dgvTax.DataSource = null; dgvTax.DataBind(); } } catch (Exception ex) { Store.Common.Utility.ExceptionLog.Exceptionlogs(ex.Message, Store.Common.Utility.ExceptionLog.LineNumber(ex), typeof(Tax).FullName, 1); } finally { oblTax = null; obTaxList = null; } }