public void refresh(string pBranchId) { try { try { dgvDetailList.DataSource = null; ldtLoanEOD = loLoanEndOfDay.getLoanEndOfDayByBranch(pBranchId); } catch { ldtLoanEOD = null; } loSearches.lQuery = ""; GlobalFunctions.refreshGrid(ref dgvList, ldtLoanEOD); if (dgvList.Rows.Count > 0) { viewDetails(); } } catch (Exception ex) { throw ex; } }
public DataTable getLoanEndOfDayByBranch(string pBranchId) { return(loLoanEndOfDay.getLoanEndOfDayByBranch(pBranchId)); }