/// <summary>
 /// Function to fill datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         ProductCreationBll BllProductCreation = new ProductCreationBll();
         ProductInfo infoProduct = new ProductInfo();
         int inSelect = 0;
         if (cmbSearchBy.SelectedIndex == 0)
         {
             infoProduct.GroupId = Convert.ToInt32(cmbProductGroupTax.SelectedValue.ToString());
         }
         else
         {
             inSelect = 1;
             infoProduct.TaxId = Convert.ToInt32(cmbProductGroupTax.SelectedValue.ToString());
         }
         infoProduct.ProductCode = txtProductCode.Text.Trim();
         infoProduct.ProductName = txtProductName.Text.Trim();
         List<DataTable> listObj = BllProductCreation.ChangeProductTaxSearch(infoProduct, inSelect);
         dgvChangeProductTax.DataSource = listObj[0];
     }
     catch (Exception ex)
     {
         MessageBox.Show("CPT 6 : " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }