• 大小: 8.8MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-24
  • 语言: C#
  • 标签: 网上书店  

资源简介

功能强大,用ASP.NET网上书店(连接SQL SERVER数据库),完全可以做为课程设计,或者期末考查课的作品

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using MyBookShop.DAL;
using MyBookShop.Models;

namespace MyBookShop.BLL
{

    public static partial class BookManager
    {
        #region 查
        /// 
        /// 查询图书列表
        /// 包含了分类的查询
        /// 和有无排序的条件
        /// 

        /// 查询条件:分类。小于1时代表不分类
        /// 排序条件,为空则不排序
        /// 
        public static IList GetOrderedSmallBooksByCategoryId(int categoryId string order)
        {
            return BookService.GetPartialBooksBySql(categoryId order);
        }
        /// 
        /// 搜索图书
        /// 

        /// 
        /// 
        public static IList SearchBooks(string keywordstring order)
        {
            return BookService.SearchBooks(keywordorder);
        }
        /// 
        /// 返回Rss所用的图书列表
        /// 

        /// 
        public static IList GetNewBooks()
        {
            return BookService.GetNewBooks();
        }

        #endregion
        #region 改

        /// 
        /// 更新图书分类
        /// 

        /// 
        /// 
        /// 
        public static void ModifyCatagory(string ids string catagory)
        {
            BookService.ModifyCatagory(ids catagory);
        }
        /// 
        /// 专为图书修改页提供的图书更新
        /// 

        /// tle“>
        /// 
        /// 
        /// ription“>
        /// 
        /// 
        /// 
        /// 
        /// ription“>
        /// 
        /// 
        public static void ModifyBook(string title int Publisherid int WordsCount string AurhorDescription decimal UnitPrice string author string TOC DateTime PublishDate string ContentDescription string editorComment int id)
        {
            if (AurhorDescription == null)
                AurhorDescription = ““;
            if (ContentDescription == null)
                ContentDescription = ““;
            if (ContentDescription == null)
                ContentDescription = ““;
            if (editorComment == null)
                editorComment = ““;
            if (ContentDescription == null)
                ContentDescription = ““;
            if (editorComment == null)
                editorComment = ““;
            if (TOC == null)
                TOC = ““;

            Book book = B

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-12-04 20:53  BookShopOnline\
     目录           0  2008-08-19 18:51  BookShopOnline\Bin\
     文件      753664  2006-07-18 20:21  BookShopOnline\Bin\FreeTextBox.dll
     文件       32768  2006-02-09 09:58  BookShopOnline\Bin\WebValidates.dll
     文件    10485760  2008-08-08 12:39  BookShopOnline\MyBookShop.mdf
     文件        5739  2008-01-07 10:03  BookShopOnline\MyBookShop.sln
     文件      293376  2008-08-08 12:21  BookShopOnline\MyBookShop.suo
     目录           0  2008-08-19 18:51  BookShopOnline\MyBookShopBLL\
     目录           0  2008-08-19 18:51  BookShopOnline\MyBookShopBLL\Auto Generated Code\
     文件         811  2007-11-28 15:08  BookShopOnline\MyBookShopBLL\Auto Generated Code\BookManager.cs
     文件        1053  2007-11-28 15:09  BookShopOnline\MyBookShopBLL\Auto Generated Code\CategoryManager.cs
     文件        1362  2007-09-06 17:40  BookShopOnline\MyBookShopBLL\Auto Generated Code\OrderBookManager.cs
     文件         960  2007-11-28 15:09  BookShopOnline\MyBookShopBLL\Auto Generated Code\OrderManager.cs
     文件        1084  2007-11-28 15:09  BookShopOnline\MyBookShopBLL\Auto Generated Code\PublisherManager.cs
     文件        1208  2007-11-28 15:09  BookShopOnline\MyBookShopBLL\Auto Generated Code\SearchKeywordManager.cs
     文件        1225  2007-11-28 15:09  BookShopOnline\MyBookShopBLL\Auto Generated Code\UserManager.cs
     文件        1159  2007-11-28 15:09  BookShopOnline\MyBookShopBLL\Auto Generated Code\UserRoleManager.cs
     文件        1193  2007-11-28 15:09  BookShopOnline\MyBookShopBLL\Auto Generated Code\UserStateManager.cs
     文件        5535  2007-11-21 16:53  BookShopOnline\MyBookShopBLL\BookManager.cs
     文件         698  2007-10-10 15:41  BookShopOnline\MyBookShopBLL\CategoryManager.cs
     文件        3459  2008-01-07 10:03  BookShopOnline\MyBookShopBLL\MyBookShopBLL.csproj
     文件         168  2007-08-09 10:37  BookShopOnline\MyBookShopBLL\MyBookShopBLL.csproj.user
     文件         773  2007-11-13 09:01  BookShopOnline\MyBookShopBLL\OrderBookManager.cs
     文件         725  2007-11-13 08:58  BookShopOnline\MyBookShopBLL\OrdersManager.cs
     目录           0  2008-08-19 18:51  BookShopOnline\MyBookShopBLL\Properties\
     文件        1339  2007-07-27 14:11  BookShopOnline\MyBookShopBLL\Properties\AssemblyInfo.cs
     文件         923  2008-01-08 10:17  BookShopOnline\MyBookShopBLL\SearchKeywordManager.cs
     文件        4226  2007-11-28 15:41  BookShopOnline\MyBookShopBLL\UserManager.cs
     目录           0  2008-08-19 18:51  BookShopOnline\MyBookShopBLL\bin\
     目录           0  2008-08-19 18:51  BookShopOnline\MyBookShopBLL\bin\Debug\
     文件       24576  2008-07-14 21:54  BookShopOnline\MyBookShopBLL\bin\Debug\MyBookShopBLL.dll
............此处省略250个文件信息

评论

共有 条评论