private void bindLstEligibleParticipants() { ParticipantDAO dao = new ParticipantDAO(); ICollection<Participant> participantList = dao.GetEligibleParticipants(); lstPatients.DataSource = participantList; lstPatients.DataTextField = "FullName"; lstPatients.DataValueField = "ID"; lstPatients.DataBind(); }
private ICollection<Participant> GetOncologistPatients() { ParticipantDAO dao = new ParticipantDAO(); return dao.GetEligibleParticipants(); }