Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        protected void BindPermissionList()
        {
            //Permission biz = new Permission();
            //biz.GetAll();

            //DataView permissionsList = biz.DataSourceView;

            DataView permissionsList = BusinessObject.GetAllAsDataView <Permission>();

            // Bind List of CheckBoxes
            PermissionsRptr.DataSource = permissionsList;
            PermissionsRptr.DataBind();

            // Bind Legend
            Legend.DataSource = permissionsList;
            Legend.DataBind();
        }