Esempio n. 1
0
        // Edwin Baguma: Start
        private void BindLegacyReports()
        {
            ProjectBLL LegacyRpt = new ProjectBLL();

            ddlReportType.DataSource     = LegacyRpt.GetLegacyReports();
            ddlReportType.DataTextField  = "reportName";
            ddlReportType.DataValueField = "reportID";
            ddlReportType.DataBind();

            /*
             * if (Session["PROJECT_ID"] != null)
             * {
             *  if (ddlProject.Items.FindByValue(Session["PROJECT_ID"].ToString()) != null)
             *  {
             *      ddlProject.Items.FindByValue(Session["PROJECT_ID"].ToString()).Selected = true;
             *  }
             * }*/
        }