コード例 #1
0
ファイル: FCdbFacade.cs プロジェクト: PLOT78/theFC_2017
        public SurveyCatalogListVo listSurveyCatalogVo(SurveyCatalogVo surveyCatalogVo)
        {
            SurveyCatalogListVo surveyCatalogListVo = new SurveyCatalogListVo();

            using (SurveyCatalogService surveyCatalogService = new SurveyCatalogService())
            {
                surveyCatalogListVo = surveyCatalogService.listSurveyCatalogVo(surveyCatalogVo);
            }

            return(surveyCatalogListVo);
        }
コード例 #2
0
        public SurveyCatalogListVo listSurveyCatalogVo(SurveyCatalogVo surveyCatalogVo)
        {
            SurveyCatalogListVo    surveyCatalogListVo = new SurveyCatalogListVo();
            List <SurveyCatalogVo> surveyCatalogVolist = new List <SurveyCatalogVo>();

            using (SurveyCatalogDao surveyCatalogDao = new SurveyCatalogDao())
            {
                surveyCatalogVolist = surveyCatalogDao.listSurveyCatalogVo(surveyCatalogVo);
            }

            surveyCatalogListVo.surveyCatalogVolist = surveyCatalogVolist;

            return(surveyCatalogListVo);
        }
コード例 #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        showQuestionList = new List <int>();

        using (FCdbFacade fcdbFacade = new FCdbFacade())
        {
            SurveyCatalogVo surveyCatalogVo = new SurveyCatalogVo();
            surveyCatalogVo.surveyCatalog.surveyCatalogGroupNo = 1;

            SurveyCatalogListVo surveyCatalogListVo = fcdbFacade.listSurveyCatalogVo(surveyCatalogVo);

            listResult.DataSource = surveyCatalogListVo.surveyCatalogVolist;
            listResult.DataBind();
        }
    }