コード例 #1
0
        public void BindData()
        {
            List <Requests>   requestList = new List <Requests>();
            RequestDaoSqlImpl requestDao  = new RequestDaoSqlImpl();

            requestList          = requestDao.getRequestList();
            GridView1.DataSource = requestList;
            GridView1.DataBind();
        }
コード例 #2
0
        public void BindDataRequest()
        {
            List <Requests>   requestList = new List <Requests>();
            RequestDaoSqlImpl requestDao  = new RequestDaoSqlImpl();

            requestList = requestDao.getRequestList(long.Parse(Request.QueryString["requestId"]));

            GridView5.DataSource = requestList;
            GridView5.DataBind();
        }