Beispiel #1
0
    private void bindLstEligibleParticipants()
    {
        ParticipantDAO dao = new ParticipantDAO();
        ICollection<Participant> participantList = dao.GetEligibleParticipants();

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