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

资源简介

一个完整的图书馆web系统,有图书管理,读者管理,借还书管理等模块,数据库采用sql server2008,适合本科生毕设,也适合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-04-23 08:41  12\
     目录           0  2013-04-23 08:41  12\LibraryMS\
     目录           0  2013-04-23 08:41  12\LibraryMS\App_Code\
     文件        4775  2007-12-06 11:44  12\LibraryMS\App_Code\AdminManage.cs
     文件        4458  2007-11-12 09:11  12\LibraryMS\App_Code\BookcaseManage.cs
     文件       11518  2007-11-19 14:10  12\LibraryMS\App_Code\BookManage.cs
     文件       11109  2007-12-09 00:32  12\LibraryMS\App_Code\BorrowandBackManage.cs
     文件        3747  2007-11-15 18:58  12\LibraryMS\App_Code\BTypeManage.cs
     文件        7223  2007-11-01 13:52  12\LibraryMS\App_Code\Database.cs
     文件        5085  2007-11-06 20:25  12\LibraryMS\App_Code\LibraryManage.cs
     文件        1434  2007-12-09 01:24  12\LibraryMS\App_Code\OperatorClass.cs
     文件        3886  2007-11-05 14:41  12\LibraryMS\App_Code\PubManage.cs
     文件        5462  2007-11-08 18:43  12\LibraryMS\App_Code\PurviewManage.cs
     文件       11352  2007-12-26 14:01  12\LibraryMS\App_Code\ReaderManage.cs
     文件        3688  2007-11-15 18:40  12\LibraryMS\App_Code\RTypeManage.cs
     文件        2059  2007-12-05 22:38  12\LibraryMS\App_Code\ValidateClass.cs
     目录           0  2013-04-23 08:41  12\LibraryMS\App_Data\
     文件     3145728  2010-08-18 08:41  12\LibraryMS\App_Data\db_LibraryMS.mdf
     文件     1048576  2010-08-18 08:41  12\LibraryMS\App_Data\db_LibraryMS_log.ldf
     目录           0  2013-04-23 08:41  12\LibraryMS\BookBRManage\
     文件        8131  2007-12-11 08:54  12\LibraryMS\BookBRManage\BorrowBook.aspx
     文件        5416  2007-12-26 14:12  12\LibraryMS\BookBRManage\BorrowBook.aspx.cs
     文件        6142  2007-12-11 09:15  12\LibraryMS\BookBRManage\ReturnBook.aspx
     文件        3874  2007-12-26 14:08  12\LibraryMS\BookBRManage\ReturnBook.aspx.cs
     目录           0  2013-04-23 08:41  12\LibraryMS\BookManage\
     文件        6841  2007-12-26 11:29  12\LibraryMS\BookManage\AddBook.aspx
     文件        6508  2007-12-27 10:50  12\LibraryMS\BookManage\AddBook.aspx.cs
     文件        3004  2007-12-21 11:01  12\LibraryMS\BookManage\AddBType.aspx
     文件        1697  2007-12-09 02:28  12\LibraryMS\BookManage\AddBType.aspx.cs
     文件        3622  2007-12-21 09:53  12\LibraryMS\BookManage\BookManage.aspx
     文件        1292  2007-12-09 02:29  12\LibraryMS\BookManage\BookManage.aspx.cs
............此处省略85个文件信息

评论

共有 条评论