• 大小: 862KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-02
  • 语言: 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  2017-05-29 17:49  04\
     目录           0  2017-05-29 18:05  04\LibraryMS\
     目录           0  2017-05-29 17:49  04\LibraryMS\App_Code\
     文件        4775  2007-12-06 11:44  04\LibraryMS\App_Code\AdminManage.cs
     文件        4458  2007-11-12 09:11  04\LibraryMS\App_Code\BookcaseManage.cs
     文件       11518  2007-11-19 14:10  04\LibraryMS\App_Code\BookManage.cs
     文件       11109  2007-12-09 00:32  04\LibraryMS\App_Code\BorrowandBackManage.cs
     文件        3747  2007-11-15 18:58  04\LibraryMS\App_Code\BTypeManage.cs
     文件        7223  2007-11-01 13:52  04\LibraryMS\App_Code\Database.cs
     文件        5085  2007-11-06 20:25  04\LibraryMS\App_Code\LibraryManage.cs
     文件        1434  2007-12-09 01:24  04\LibraryMS\App_Code\OperatorClass.cs
     文件        3886  2007-11-05 14:41  04\LibraryMS\App_Code\PubManage.cs
     文件        5462  2007-11-08 18:43  04\LibraryMS\App_Code\PurviewManage.cs
     文件       11352  2007-12-26 14:01  04\LibraryMS\App_Code\ReaderManage.cs
     文件        3688  2007-11-15 18:40  04\LibraryMS\App_Code\RTypeManage.cs
     文件        2059  2007-12-05 22:38  04\LibraryMS\App_Code\ValidateClass.cs
     目录           0  2017-05-29 17:49  04\LibraryMS\App_Data\
     文件     3145728  2017-05-29 18:05  04\LibraryMS\App_Data\db_LibraryMS.mdf
     文件     1048576  2017-05-29 18:05  04\LibraryMS\App_Data\db_LibraryMS_log.ldf
     目录           0  2017-05-29 17:49  04\LibraryMS\BookBRManage\
     文件        8131  2007-12-11 08:54  04\LibraryMS\BookBRManage\BorrowBook.aspx
     文件        5416  2007-12-26 14:12  04\LibraryMS\BookBRManage\BorrowBook.aspx.cs
     文件        6142  2007-12-11 09:15  04\LibraryMS\BookBRManage\ReturnBook.aspx
     文件        3874  2007-12-26 14:08  04\LibraryMS\BookBRManage\ReturnBook.aspx.cs
     目录           0  2017-05-29 17:49  04\LibraryMS\BookManage\
     文件        6841  2007-12-26 11:29  04\LibraryMS\BookManage\AddBook.aspx
     文件        6508  2007-12-27 10:50  04\LibraryMS\BookManage\AddBook.aspx.cs
     文件        3004  2007-12-21 11:01  04\LibraryMS\BookManage\AddBType.aspx
     文件        1697  2007-12-09 02:28  04\LibraryMS\BookManage\AddBType.aspx.cs
     文件        3622  2007-12-21 09:53  04\LibraryMS\BookManage\BookManage.aspx
     文件        1292  2007-12-09 02:29  04\LibraryMS\BookManage\BookManage.aspx.cs
............此处省略85个文件信息

评论

共有 条评论