/// <summary>
 /// tax search grid fill
 /// </summary>
 public void TaxSearchGridFill()
 {
     string strCmbActiveSearchText = string.Empty;
     try
     {
         TaxBll bllTax = new TaxBll();
         List<DataTable> ListObj = new List<DataTable>();
         if (cmbActiveSearch.Text == "Yes")
         {
             strCmbActiveSearchText = "True";
         }
         else if (cmbActiveSearch.Text == "No")
         {
             strCmbActiveSearchText = "False";
         }
         else
         {
             strCmbActiveSearchText = "All";
         }
         ListObj = bllTax.TaxSearch(txtTaxNameSearch.Text.Trim(), cmbApplicableForSearch.Text, cmbCalculationModeSearch.Text, strCmbActiveSearchText);
         dgvTaxSearch.DataSource = ListObj[0];
         int inRowCount = dgvTaxSearch.RowCount;
         for (int i = 0; i <= inRowCount - 1; i++)
         {
             if (dgvTaxSearch.Rows[i].Cells["dgvtxtActive"].Value != null && dgvTaxSearch.Rows[i].Cells["dgvtxtActive"].Value.ToString()!=string.Empty)
             {
                 if (dgvTaxSearch.Rows[i].Cells["dgvtxtActive"].Value.ToString() == "1")
                 {
                     dgvTaxSearch.Rows[i].Cells["dgvtxtActive"].Value = "Yes";
                 }
                 if (dgvTaxSearch.Rows[i].Cells["dgvtxtActive"].Value.ToString() == "0")
                 {
                     dgvTaxSearch.Rows[i].Cells["dgvtxtActive"].Value = "No";
                 }
             }
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("TC9:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }