public string BindChoicesWithNone()
        {
            StringBuilder  ChoiceHtml  = new StringBuilder();
            List <Report3> ProjectList = new ReportManager().GetReport3_Project();

            if (ProjectList.Count == 0)
            {
                return(string.Empty);
            }
            //加入空值
            ProjectList.Insert(0, new Report3()
            {
                ProjectID   = null,
                ProjectName = ""
            });

            foreach (Report3 item in ProjectList)
            {
                ChoiceHtml.AppendFormat("<option value=\"{0}\">{1}</option>", item.ProjectID, item.ProjectName);
            }

            return(ChoiceHtml.ToString());
        }
        public string BindChoicesProjectSpaces()
        {
            StringBuilder ChoiceHtml = new StringBuilder();
            List <Report22_ProjectSpace> ProjectList = new ReportManager().GetReport22_Project();

            if (ProjectList.Count == 0)
            {
                return(string.Empty);
            }
            //加入空值
            ProjectList.Insert(0, new Report22_ProjectSpace()
            {
                ProjectID    = null,
                SubProjectID = null,
                Title        = ""
            });

            foreach (Report22_ProjectSpace item in ProjectList)
            {
                ChoiceHtml.AppendFormat("<option value=\"{0}\">{1}</option>", item.SubProjectID, item.Title);
            }

            return(ChoiceHtml.ToString());
        }