Example #1
0
 //添加图书
 public static int insert(Book bk)
 {
     return(BookService.insert(bk));
 }
Example #2
0
 //修改图书信息
 public static int update(Book book)
 {
     return(BookService.update(book));
 }
Example #3
0
 ////查询最新的八本图书
 public static DataTable top8book()
 {
     return(BookService.top8book());
 }
Example #4
0
        //删除图书
        public static int delete(string bookname)

        {
            return(BookService.delete(bookname));
        }
Example #5
0
 //通过页面回传的book_id获取图书的所有信息
 public static DataTable Itt(int ID)
 {
     return(BookService.itt(ID));
 }
Example #6
0
 //书单收藏dropdownlist下拉选项
 public static DataTable listbook(int user_id)
 {
     return(BookService.listbook(user_id));
 }
Example #7
0
 //查看现代文学类型的图书
 public static DataTable xiandai()
 {
     return(BookService.xiandai());
 }
Example #8
0
 //查看网络小说类型的图书
 public static DataTable wangluo()
 {
     return(BookService.wangluo());
 }
Example #9
0
 //查看诗歌散文类型的图书
 public static DataTable shige()
 {
     return(BookService.shige());
 }
Example #10
0
 //查看民国大师类型的图书
 public static DataTable minguo()
 {
     return(BookService.minguo());
 }
Example #11
0
 //查看国学经典类型的图书
 public static DataTable guoxue()
 {
     return(BookService.guoxue());
 }
Example #12
0
 //查看所有图书
 public static DataTable all()
 {
     return(BookService.all());
 }
Example #13
0
 //查看图书具体界面
 public static SqlDataReader IDselcet(int ID)
 {
     return(BookService.Idselect(ID));
 }
Example #14
0
 //查询图书信息
 public static SqlDataReader select(string bookname)
 {
     return(BookService.select(bookname));
 }
Example #15
0
 //模糊搜索
 public static DataTable mohuselect(string bookname)
 {
     return(BookService.mohuselect(bookname));
 }