/// <summary>
 /// gridfill function
 /// </summary>
 public void GridFill()
 {
     List<DataTable> ListObj = new List<DataTable>();
     AccountLedgerBll bllAccountledger = new AccountLedgerBll();
     decimal decAreaId = 0;
     decimal decRouteId = 0;
     try
     {
         if (cmbAreaSearch.Text == "All")
         {
             decAreaId = 0;
         }
         else
         {
             decAreaId = Convert.ToDecimal(cmbAreaSearch.SelectedValue.ToString());
         }
         if (cmbRouteSearch.Text == "All")
         {
             decRouteId = 0;
         }
         else
         {
             decRouteId = Convert.ToDecimal(cmbRouteSearch.SelectedValue.ToString());
         }
         ListObj = bllAccountledger.SupplierSearchAll(decAreaId, decRouteId, txtSupplierNameSearch.Text);
         dgvSupplier.DataSource = ListObj[0];
     }
     catch (Exception ex)
     {
         MessageBox.Show("SUP7" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }