• 大小: 0.11M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-11
  • 语言: C#
  • 标签: Book  management  c#  

资源简介

书本管理系统,包含普通用户与管理员登录,书本信息查询,删除,修改,添加等功能。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.Data.OleDb;
using System.Data;
using System.Windows.Forms;

namespace BookManager
{
    class DbManager
    {
        OleDbConnection objOleDbConnection;
        public DbManager()
        {
            objOleDbConnection = new OleDbConnection(“Provider = Microsoft.Jet.Oledb.4.0; Data Source = Book.mdb“);
        }

        public DataSet GetData(string sqlCmd)
        {
            DataSet ds = new DataSet();
            OleDbDataAdapter da = new OleDbDataAdapter(sqlCmd objOleDbConnection);
            try
            {
                objOleDbConnection.Open();
                da.Fill(ds);
            }
            catch (Exception ex)
            {
                MessageBox.Show

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

     文件        923  2009-12-17 12:47  BookManager\BookManager.sln

    ..A..H.     30208  2010-01-14 00:28  BookManager\BookManager.suo

     文件       4928  2010-01-11 00:52  BookManager\BookManager\BookManager.csproj

     文件       2459  2010-01-10 21:42  BookManager\BookManager\DbManager.cs

     文件        336  2009-12-16 09:57  BookManager\BookManager\Form1.cs

     文件       1157  2009-12-16 09:57  BookManager\BookManager\Form1.Designer.cs

     文件       5760  2010-01-11 21:07  BookManager\BookManager\frmBookQ.cs

     文件      13635  2010-01-11 21:07  BookManager\BookManager\frmBookQ.Designer.cs

     文件       8226  2010-01-11 21:07  BookManager\BookManager\frmBookQ.resx

     文件       4257  2010-01-13 23:58  BookManager\BookManager\frmBookR.cs

     文件      12655  2010-01-11 21:06  BookManager\BookManager\frmBookR.Designer.cs

     文件       8226  2010-01-11 21:06  BookManager\BookManager\frmBookR.resx

     文件       4561  2010-01-11 21:06  BookManager\BookManager\frmCategory.cs

     文件       7839  2010-01-11 21:06  BookManager\BookManager\frmCategory.Designer.cs

     文件       7846  2010-01-11 21:06  BookManager\BookManager\frmCategory.resx

     文件       3245  2010-01-11 21:06  BookManager\BookManager\frmMagazineQ.cs

     文件       9881  2010-01-11 21:06  BookManager\BookManager\frmMagazineQ.Designer.cs

     文件       8226  2010-01-11 21:06  BookManager\BookManager\frmMagazineQ.resx

     文件       3608  2010-01-14 00:27  BookManager\BookManager\frmMagazineR.cs

     文件       9663  2010-01-11 21:07  BookManager\BookManager\frmMagazineR.Designer.cs

     文件       8226  2010-01-11 21:07  BookManager\BookManager\frmMagazineR.resx

     文件        476  2009-12-03 11:58  BookManager\BookManager\Program.cs

     文件     372736  2010-01-14 00:28  BookManager\BookManager\bin\Debug\Book.mdb

     文件      40960  2010-01-14 00:27  BookManager\BookManager\bin\Debug\BookManager.exe

     文件      83456  2010-01-14 00:27  BookManager\BookManager\bin\Debug\BookManager.pdb

     文件      14328  2010-01-13 23:54  BookManager\BookManager\bin\Debug\BookManager.vshost.exe

     文件        490  2007-07-21 01:33  BookManager\BookManager\bin\Debug\BookManager.vshost.exe.manifest

     文件        478  2009-12-17 11:59  BookManager\BookManager\obj\BookManager.csproj.FileList.txt

     文件       3844  2010-01-14 00:10  BookManager\BookManager\obj\Debug\BookManager.csproj.FileListAbsolute.txt

     文件       1171  2010-01-11 21:07  BookManager\BookManager\obj\Debug\BookManager.csproj.GenerateResource.Cache

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

评论

共有 条评论