• 大小: 790KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-09
  • 语言: C#
  • 标签: c#  开发  

资源简介

图书馆管理系统 出自《C#项目开发全程实录》一书 (明日科技)

资源截图

代码片段和文件信息

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page
{
    BookManage bookmanage = new BookManage();
    ReaderManage readermanage = new ReaderManage();
    protected void Page_Load(object sender EventArgs e)
    {
        this.title = “图书馆管理系统主页“;
        DataSet bookds = bookmanage.GetBookSort(“tb_bookinfo“);
        gvBookSort.DataSource = bookds;
        gvBookSort.DataBind();

        DataSet readerds = readermanage.GetReaderSort(“tb_reader“);
        gvReaderSort.DataSource = readerds;
        gvReaderSort.DataBind();
    }
    protected void gvBookSort_RowDataBound(object sender GridViewRowEventArgs e)
    {
        if (e.Row.RowIndex != -1)
        {
            int id = e.Row.RowIndex + 1;
            e.Row.Cells[0].Text = id.ToString();
        }
    }
    protected void gvReaderSort_RowDataBound(object sender GridViewRowEventArgs e)
    {
        gvBookSort_RowDataBound(sender e);
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-06-06 09:07  10\
     目录           0  2013-06-06 09:08  10\LibraryMS\
     目录           0  2013-06-06 09:08  10\LibraryMS\App_Code\
     文件        4775  2007-12-06 11:44  10\LibraryMS\App_Code\AdminManage.cs
     文件        4458  2007-11-12 09:11  10\LibraryMS\App_Code\BookcaseManage.cs
     文件       11518  2007-11-19 14:10  10\LibraryMS\App_Code\BookManage.cs
     文件       11109  2007-12-09 00:32  10\LibraryMS\App_Code\BorrowandBackManage.cs
     文件        3747  2007-11-15 18:58  10\LibraryMS\App_Code\BTypeManage.cs
     文件        7223  2007-11-01 13:52  10\LibraryMS\App_Code\Database.cs
     文件        5085  2007-11-06 20:25  10\LibraryMS\App_Code\LibraryManage.cs
     文件        1434  2007-12-09 01:24  10\LibraryMS\App_Code\OperatorClass.cs
     文件        3886  2007-11-05 14:41  10\LibraryMS\App_Code\PubManage.cs
     文件        5462  2007-11-08 18:43  10\LibraryMS\App_Code\PurviewManage.cs
     文件       11352  2007-12-26 14:01  10\LibraryMS\App_Code\ReaderManage.cs
     文件        3688  2007-11-15 18:40  10\LibraryMS\App_Code\RTypeManage.cs
     文件        2059  2007-12-05 22:38  10\LibraryMS\App_Code\ValidateClass.cs
     目录           0  2013-06-06 09:08  10\LibraryMS\App_Data\
     文件     3145728  2008-01-10 11:41  10\LibraryMS\App_Data\db_LibraryMS.mdf
     文件     1048576  2008-01-10 11:41  10\LibraryMS\App_Data\db_LibraryMS_log.ldf
     目录           0  2013-06-06 09:08  10\LibraryMS\BookBRManage\
     文件        8131  2007-12-11 08:54  10\LibraryMS\BookBRManage\BorrowBook.aspx
     文件        5416  2007-12-26 14:12  10\LibraryMS\BookBRManage\BorrowBook.aspx.cs
     文件        6142  2007-12-11 09:15  10\LibraryMS\BookBRManage\ReturnBook.aspx
     文件        3874  2007-12-26 14:08  10\LibraryMS\BookBRManage\ReturnBook.aspx.cs
     目录           0  2013-06-06 09:08  10\LibraryMS\BookManage\
     文件        6841  2007-12-26 11:29  10\LibraryMS\BookManage\AddBook.aspx
     文件        6508  2007-12-27 10:50  10\LibraryMS\BookManage\AddBook.aspx.cs
     文件        3004  2007-12-21 11:01  10\LibraryMS\BookManage\AddBType.aspx
     文件        1697  2007-12-09 02:28  10\LibraryMS\BookManage\AddBType.aspx.cs
     文件        3622  2007-12-21 09:53  10\LibraryMS\BookManage\BookManage.aspx
     文件        1292  2007-12-09 02:29  10\LibraryMS\BookManage\BookManage.aspx.cs
............此处省略84个文件信息

评论

共有 条评论