コード例 #1
0
        protected void BindRerop()
        {
            List <Model.Dormitory> dormitoryList = new BLL.DormitoryBLL().GetDormitoryBLL(0);

            drtxtDorID.DataValueField = "dormitoryID";
            drtxtDorID.DataSource     = dormitoryList;
            drtxtDorID.DataBind();
        }
コード例 #2
0
        protected void BindVisiting()
        {
            List <Model.Dormitory> vis = new BLL.DormitoryBLL().GetDormitoryBLL(0);

            drtxtVist.DataValueField = "dormitoryID";
            drtxtVist.DataSource     = vis;
            drtxtVist.DataBind();
        }