/// <summary> /// tax grid fill function /// </summary> public void TaxGridFill() { try { TaxBll bllTax = new TaxBll(); List<DataTable> Listobj = new List<DataTable>(); Listobj = bllTax.TaxViewAllForVoucherType(); dgvApplicableTaxes.DataSource = Listobj[0]; } catch (Exception ex) { MessageBox.Show("VT08:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }