/// <summary>
 /// Function to fill datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         CurrencyBll BllCurrency = new CurrencyBll();
         List<DataTable> listCurrency = new List<DataTable>();
         listCurrency = BllCurrency.CurrencySearch(txtNameSearch.Text.Trim(), txtSymbolSearch.Text.Trim());
         dgvCurrency.DataSource = listCurrency[0];
     }
     catch (Exception ex)
     {
         MessageBox.Show("C7:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 /// <summary>
 /// Function to fill datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         CurrencyBll BllCurrency = new CurrencyBll();
         List<DataTable> listObj = new List<DataTable>();
         if (txtCurrencyName.Text == string.Empty && txtCurrencySymbol.Text == string.Empty)
         {
             txtCurrencyName.Text = string.Empty;
             txtCurrencySymbol.Text = string.Empty;
         }
         listObj = BllCurrency.CurrencySearch(txtCurrencyName.Text, txtCurrencySymbol.Text);
         dgvCurrency.DataSource = listObj[0];
     }
     catch (Exception ex)
     {
         MessageBox.Show("CDP1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }