• 大小: 0.44M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: sql  系统  管理  C#  

资源简介

VS+SQL图书管理系统(三层)

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BookManagement.Model;
using System.Windows.Forms;
using BookManagement.DAL;
using System.Data.SqlClient;
using BookManagement.Factory;

namespace BookManagement.BLL
{
    public class BookAdminBLL
    {
        public bool Login(TextBox tbxUsername TextBox tbxPwd)
        {
            SqlDataReader dr = AbstractFactory.GetFactory().ExecuteBookAdmin().Login();
            if (dr.HasRows)
            {
                while (dr.Read())
                {
                    if (dr[“adminUsername“].ToString() == tbxUsername.Text && dr[“pwd“].ToString() == MD5Helper.GetMD5(tbxPwd.Text))
                    {
                        return true;
                    }
           

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       7168  2013-04-16 08:28  BookManagement\BookManagement.BLL\bin\Debug\BookManagement.BLL.dll

     文件      24064  2013-04-16 08:28  BookManagement\BookManagement.BLL\bin\Debug\BookManagement.BLL.pdb

     文件      15872  2013-04-16 08:27  BookManagement\BookManagement.BLL\bin\Debug\BookManagement.DAL.dll

     文件      34304  2013-04-16 08:27  BookManagement\BookManagement.BLL\bin\Debug\BookManagement.DAL.pdb

     文件       4608  2013-04-16 08:27  BookManagement\BookManagement.BLL\bin\Debug\BookManagement.Factory.dll

     文件      13824  2013-04-16 08:27  BookManagement\BookManagement.BLL\bin\Debug\BookManagement.Factory.pdb

     文件       5120  2013-04-16 08:27  BookManagement\BookManagement.BLL\bin\Debug\BookManagement.IDAL.dll

     文件       7680  2013-04-16 08:27  BookManagement\BookManagement.BLL\bin\Debug\BookManagement.IDAL.pdb

     文件       8192  2013-04-10 10:27  BookManagement\BookManagement.BLL\bin\Debug\BookManagement.Model.dll

     文件       7680  2013-04-10 10:27  BookManagement\BookManagement.BLL\bin\Debug\BookManagement.Model.pdb

     文件        874  2013-04-15 15:56  BookManagement\BookManagement.BLL\BookAdminBLL.cs

     文件       1680  2013-04-15 15:29  BookManagement\BookManagement.BLL\BookBLL.cs

     文件       3586  2013-04-10 17:30  BookManagement\BookManagement.BLL\BookManagement.BLL.csproj

     文件        802  2013-03-09 16:08  BookManagement\BookManagement.BLL\MD5Helper.cs

     文件       2277  2013-04-16 08:28  BookManagement\BookManagement.BLL\normalUserBLL.cs

     文件       1166  2013-04-15 15:54  BookManagement\BookManagement.BLL\obj\Debug\BookManagement.BLL.csproj.FileListAbsolute.txt

     文件       7168  2013-04-16 08:28  BookManagement\BookManagement.BLL\obj\Debug\BookManagement.BLL.dll

     文件      24064  2013-04-16 08:28  BookManagement\BookManagement.BLL\obj\Debug\BookManagement.BLL.pdb

     文件       4608  2013-04-16 08:55  BookManagement\BookManagement.BLL\obj\Debug\Refactor\BookManagement.BLL.dll

     文件      15457  2013-04-16 08:27  BookManagement\BookManagement.BLL\obj\Debug\ResolveAssemblyReference.cache

     文件       1368  2013-03-05 11:12  BookManagement\BookManagement.BLL\Properties\AssemblyInfo.cs

     文件      15872  2013-04-16 08:27  BookManagement\BookManagement.DAL\bin\Debug\BookManagement.DAL.dll

     文件      34304  2013-04-16 08:27  BookManagement\BookManagement.DAL\bin\Debug\BookManagement.DAL.pdb

     文件       5120  2013-04-16 08:27  BookManagement\BookManagement.DAL\bin\Debug\BookManagement.IDAL.dll

     文件       7680  2013-04-16 08:27  BookManagement\BookManagement.DAL\bin\Debug\BookManagement.IDAL.pdb

     文件       8192  2013-04-10 10:27  BookManagement\BookManagement.DAL\bin\Debug\BookManagement.Model.dll

     文件       7680  2013-04-10 10:27  BookManagement\BookManagement.DAL\bin\Debug\BookManagement.Model.pdb

     文件        506  2013-04-15 15:53  BookManagement\BookManagement.DAL\BookAdminDAL.cs

     文件       4916  2013-04-10 16:52  BookManagement\BookManagement.DAL\BookDAL.cs

     文件       3212  2013-04-10 16:58  BookManagement\BookManagement.DAL\BookManagement.DAL.csproj

............此处省略179个文件信息

评论

共有 条评论