/// <summary>
 /// Function to fill Datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         decimal decAreaId = 0;
         decimal decRouteId = 0;
         List<DataTable> ListObj = new List<DataTable>();
         AccountLedgerBll bllAccountledger = new AccountLedgerBll();
         if (cmbAreaSearch.Text == "All")
         {
             decAreaId = 0;
         }
         else
         {
             decAreaId = Convert.ToDecimal(cmbAreaSearch.SelectedValue.ToString());
         }
         if (cmbRoutSearch.Text == "All")
         {
             decRouteId = 0;
         }
         else
         {
             decRouteId = Convert.ToDecimal(cmbRoutSearch.SelectedValue.ToString());
         }
         ListObj = bllAccountledger.AccountLedgerSearchforCustomer(decAreaId, decRouteId, txtCustomerNameSearch.Text.Trim());
         dgvCustomer.DataSource = ListObj[0];
     }
     catch (Exception ex)
     {
         MessageBox.Show("Cus13:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }