示例#1
0
        public SelectList getStandardSectionDropDownWithSerial()
        {
            List <StandardSectionMapDTO> rDto = _ddlRepo.StandardSectionWithSerial();

            StandardSectionMapDTO ssDto = new StandardSectionMapDTO();

            ssDto.StandardSectionId   = -1;
            ssDto.StandardSectionDesc = "SELECT";

            rDto.Insert(0, ssDto);

            return(new SelectList(rDto, "StandardSectionId", "StandardSectionDesc"));
        }