private void getAllList(string pClientId) { try { dgvFamilyMembers.DataSource = loClientFamilyMember.getAllData(pClientId, ""); } catch { dgvFamilyMembers.DataSource = null; } try { dgvPersonalReference.DataSource = loClientPersonalReference.getAllData(pClientId, ""); } catch { dgvPersonalReference.DataSource = null; } try { dgvSourceOfIncome.DataSource = loClientSourceOfIncome.getAllData(pClientId, ""); } catch { dgvSourceOfIncome.DataSource = null; } try { dgvOwnedProperties.DataSource = loClientOwnedProperty.getAllData(pClientId, ""); } catch { dgvOwnedProperties.DataSource = null; } try { dgvCreditExperience.DataSource = loClientCreditExperience.getAllData(pClientId, ""); } catch { dgvCreditExperience.DataSource = null; } try { dgvLoanHistory.DataSource = loLoanApplication.getLoanApplicationByClient(pClientId); } catch { dgvLoanHistory.DataSource = null; } }
public DataTable getLoanApplicationByClient(string pClientId) { return(loLoanApplication.getLoanApplicationByClient(pClientId)); }