Exemple #1
0
 public int shipCount()
 {
     int count = 0;
     adminDA admin = new adminDA();
     count = admin.shipCount();
     return count;
 }
Exemple #2
0
 public int add_Book(string bookName, string bookType, string bookClass1, string bookClass2, string bookAuthor, string bookPublisher, DateTime bookDate, string bookISBN, string bookBinding, string bookLanguage, string bookPrice, string bookAmonet, string bookIntroduction, string bookContent, string bookImage)
 {
     int count = 0;
     adminDA da = new adminDA();
     count = da.add_Book(bookName, bookType, bookClass1, bookClass2, bookAuthor, bookPublisher, bookDate, bookISBN, bookBinding, bookLanguage, bookPrice, bookAmonet, bookIntroduction, bookContent, bookImage);
     return count;
 }
Exemple #3
0
 public DataTable bookNameSel(string bookName)
 {
     adminDA admin = new adminDA();
     return admin.bookNameSel(bookName);
 }
Exemple #4
0
 public DataTable Del(string id)
 {
     adminDA admin = new adminDA();
     return admin.Del(id);
 }
Exemple #5
0
 public DataTable orderpay(bool pay)
 {
     adminDA admin = new adminDA();
     return admin.orderpay(pay);
 }
Exemple #6
0
 public int UpdateOrder(string orderID, bool pay, bool ship)
 {
     adminDA admin = new adminDA();
     return admin.UpdateOrder(orderID, pay, ship);
 }
Exemple #7
0
 public DataTable orderSel()
 {
     adminDA admin = new adminDA();
     return admin.orderSel();
 }
Exemple #8
0
 public DataTable memSelUsername(string username)
 {
     adminDA admin = new adminDA();
     return admin.memSelUsername(username);
 }
Exemple #9
0
 public DataTable bookDetaile(string bookID)
 {
     adminDA admin = new adminDA();
     return admin.bookDetaile(bookID);
 }
Exemple #10
0
 public int admin_login(string account, string password)
 {
     adminDA admin = new adminDA();
     return admin.admin_login(account, password);
 }
Exemple #11
0
 public int admin_add(string account, string password, string name, int level)
 {
     adminDA admin = new adminDA();
     return admin.admin_add(account, password, name, level);
 }
Exemple #12
0
 public int memCount()
 {
     adminDA admin = new adminDA();
     return admin.memCount();
 }
Exemple #13
0
 public int bookAmountsCount()
 {
     adminDA admin = new adminDA();
     return admin.bookAmountsCount();
 }
Exemple #14
0
 public DataTable messageSel(DateTime time1, DateTime time2)
 {
     adminDA admin = new adminDA();
     return admin.messageSel(time1, time2);
 }
Exemple #15
0
 public DataTable bookAmountSel(int amount)
 {
     adminDA admin = new adminDA();
     return admin.bookAmountSel(amount);
 }
Exemple #16
0
 public DataTable bookISBNSel(string ISBN)
 {
     adminDA admin = new adminDA();
     return admin.bookISBNSel(ISBN);
 }
Exemple #17
0
 public int bookDel(string bookID)
 {
     adminDA admin = new adminDA();
     return admin.bookDel(bookID);
 }
Exemple #18
0
 public DataTable memSel()
 {
     adminDA admin = new adminDA();
     return admin.memSel();
 }
Exemple #19
0
 public int Update_book(string ID, string Name, string Author, string Publisher, DateTime Date, string ISBN, string Binding, string Language, string Price, string Amonet, string Introduction, string Content, string Image)
 {
     adminDA admin = new adminDA();
     return admin.Update_book(ID, Name, Author, Publisher, Date, ISBN, Binding, Language, Price, Amonet, Introduction, Content, Image);
 }
Exemple #20
0
 public DataTable memSelName(string name)
 {
     adminDA admin = new adminDA();
     return admin.memSelName(name);
 }
Exemple #21
0
 public DataTable adminSel()
 {
     adminDA admin = new adminDA();
     return admin.adminSel();
 }
Exemple #22
0
 public DataTable orderDetaile(string orderID)
 {
     adminDA admin = new adminDA();
     return admin.orderDetaile(orderID);
 }
Exemple #23
0
 public int admin_Del(string id)
 {
     adminDA admin = new adminDA();
     return admin.admin_Del(id);
 }
Exemple #24
0
        public DataTable memDate(string mID)
        {
            adminDA admin = new adminDA();
            return admin.memDate(mID);

        }
Exemple #25
0
 public DataTable bookAll()
 {
     adminDA admin = new adminDA();
     return admin.bookAll();
 }
Exemple #26
0
 public DataTable ordership(bool ship)
 {
     adminDA admin = new adminDA();
     return admin.ordership(ship);
 }
Exemple #27
0
 public int messageInsert(string type, string title, string messager, string content)
 {
     adminDA admin = new adminDA();
     return admin.messageInsert(type, title, messager, content);
 }