예제 #1
0
        private void PopulateStates(List <string> disStates, bool bEdit, ProjectType projType)
        {
            bEditable     = bEdit;
            diseaseStates = disStates;
            ProjectManagementDa projDa = new ProjectManagementDa();

            DataTable da;

            if (projType == ProjectType.LOI)
            {
                da = projDa.GetAllDiseaseStateCodeLOI();
            }
            else
            {
                da = projDa.GetAllDiseaseStateCodeProjApproval();
            }
            DiseaseStateRptr.DataSource = da;
            DiseaseStateRptr.DataBind();
        }