• 大小: 151KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-10
  • 语言: C#
  • 标签:

资源简介

一个权限管理系统的实例,有数据库和项目,这一个例子有一定的注释。 可以学会C#权限管理,动态加载菜单栏。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Student.DAL;

namespace Student.BLL
{
    public class LoginManager
    {
        LoginService service = new LoginService();
        public int getLoginUserLid(string user string password)
        {
            return service.getLoginUserLid(user password);
        }

        public int getRoleid(int LoginUserId)
        {
            return service.getRoleid(LoginUserId);
        }

        public List getRolePowerList(int RoleId)
        {
            return service.getRolePowerList(RoleId);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-08-19 09:27  StudentSystem权限\
     文件        1052  2011-08-19 09:09  StudentSystem权限\SQLQuery1.sql
     文件        1973  2011-08-19 09:09  StudentSystem权限\SQLQuery2.sql
     目录           0  2013-08-19 09:22  StudentSystem权限\Student.BLL\
     目录           0  2013-08-19 09:22  StudentSystem权限\Student.BLL\bin\
     目录           0  2013-08-19 09:22  StudentSystem权限\Student.BLL\bin\Debug\
     文件        4608  2012-05-31 15:42  StudentSystem权限\Student.BLL\bin\Debug\Student.BLL.dll
     文件       11776  2012-05-31 15:42  StudentSystem权限\Student.BLL\bin\Debug\Student.BLL.pdb
     文件        6656  2012-05-31 15:42  StudentSystem权限\Student.BLL\bin\Debug\Student.DAL.dll
     文件       13824  2012-05-31 15:42  StudentSystem权限\Student.BLL\bin\Debug\Student.DAL.pdb
     目录           0  2011-08-19 09:11  StudentSystem权限\Student.BLL\bin\Release\
     文件         649  2012-05-31 15:32  StudentSystem权限\Student.BLL\LoginManager.cs
     目录           0  2013-08-19 09:22  StudentSystem权限\Student.BLL\obj\
     目录           0  2013-08-19 09:22  StudentSystem权限\Student.BLL\obj\Debug\
     文件        6576  2013-08-19 09:27  StudentSystem权限\Student.BLL\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件        3969  2012-05-31 15:42  StudentSystem权限\Student.BLL\obj\Debug\ResolveAssemblyReference.cache
     文件         715  2012-05-31 15:42  StudentSystem权限\Student.BLL\obj\Debug\Student.BLL.csproj.FileListAbsolute.txt
     文件        4608  2012-05-31 15:42  StudentSystem权限\Student.BLL\obj\Debug\Student.BLL.dll
     文件       11776  2012-05-31 15:42  StudentSystem权限\Student.BLL\obj\Debug\Student.BLL.pdb
     目录           0  2011-08-19 09:11  StudentSystem权限\Student.BLL\obj\Debug\TempPE\
     目录           0  2013-08-19 09:22  StudentSystem权限\Student.BLL\Properties\
     文件        1378  2012-05-31 14:54  StudentSystem权限\Student.BLL\Properties\AssemblyInfo.cs
     文件        2537  2012-05-31 15:42  StudentSystem权限\Student.BLL\Student.BLL.csproj
     目录           0  2013-08-19 09:22  StudentSystem权限\Student.DAL\
     目录           0  2013-08-19 09:22  StudentSystem权限\Student.DAL\bin\
     目录           0  2013-08-19 09:22  StudentSystem权限\Student.DAL\bin\Debug\
     文件        6656  2012-05-31 15:42  StudentSystem权限\Student.DAL\bin\Debug\Student.DAL.dll
     文件       13824  2012-05-31 15:42  StudentSystem权限\Student.DAL\bin\Debug\Student.DAL.pdb
     目录           0  2011-08-19 09:11  StudentSystem权限\Student.DAL\bin\Release\
     文件         295  2012-05-31 15:06  StudentSystem权限\Student.DAL\DBhelper.cs
     文件        3023  2012-05-31 15:29  StudentSystem权限\Student.DAL\LoginService.cs
............此处省略82个文件信息

评论

共有 条评论