コード例 #1
0
        /// <summary>
        /// 更新数据赋值
        /// </summary>
        private void SetPageData()
        {
            Roles roleInfo = new Roles();

            roleInfo = roleBll.GetModel(Id);
            if (roleInfo != null)
            {
                txt_RoleID.Value      = roleInfo.ID.ToString();
                txt_RoleName.Value    = roleInfo.RoleName;
                txt_Description.Value = roleInfo.Description;
                txt_OrderID.Value     = roleInfo.OrderID.ToString();
            }
        }