Ejemplo n.º 1
0
 public int shipCount()
 {
     int count = 0;
     adminDA admin = new adminDA();
     count = admin.shipCount();
     return count;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 public DataTable bookNameSel(string bookName)
 {
     adminDA admin = new adminDA();
     return admin.bookNameSel(bookName);
 }
Ejemplo n.º 4
0
 public DataTable Del(string id)
 {
     adminDA admin = new adminDA();
     return admin.Del(id);
 }
Ejemplo n.º 5
0
 public DataTable orderpay(bool pay)
 {
     adminDA admin = new adminDA();
     return admin.orderpay(pay);
 }
Ejemplo n.º 6
0
 public int UpdateOrder(string orderID, bool pay, bool ship)
 {
     adminDA admin = new adminDA();
     return admin.UpdateOrder(orderID, pay, ship);
 }
Ejemplo n.º 7
0
 public DataTable orderSel()
 {
     adminDA admin = new adminDA();
     return admin.orderSel();
 }
Ejemplo n.º 8
0
 public DataTable memSelUsername(string username)
 {
     adminDA admin = new adminDA();
     return admin.memSelUsername(username);
 }
Ejemplo n.º 9
0
 public DataTable bookDetaile(string bookID)
 {
     adminDA admin = new adminDA();
     return admin.bookDetaile(bookID);
 }
Ejemplo n.º 10
0
 public int admin_login(string account, string password)
 {
     adminDA admin = new adminDA();
     return admin.admin_login(account, password);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 12
0
 public int memCount()
 {
     adminDA admin = new adminDA();
     return admin.memCount();
 }
Ejemplo n.º 13
0
 public int bookAmountsCount()
 {
     adminDA admin = new adminDA();
     return admin.bookAmountsCount();
 }
Ejemplo n.º 14
0
 public DataTable messageSel(DateTime time1, DateTime time2)
 {
     adminDA admin = new adminDA();
     return admin.messageSel(time1, time2);
 }
Ejemplo n.º 15
0
 public DataTable bookAmountSel(int amount)
 {
     adminDA admin = new adminDA();
     return admin.bookAmountSel(amount);
 }
Ejemplo n.º 16
0
 public DataTable bookISBNSel(string ISBN)
 {
     adminDA admin = new adminDA();
     return admin.bookISBNSel(ISBN);
 }
Ejemplo n.º 17
0
 public int bookDel(string bookID)
 {
     adminDA admin = new adminDA();
     return admin.bookDel(bookID);
 }
Ejemplo n.º 18
0
 public DataTable memSel()
 {
     adminDA admin = new adminDA();
     return admin.memSel();
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 20
0
 public DataTable memSelName(string name)
 {
     adminDA admin = new adminDA();
     return admin.memSelName(name);
 }
Ejemplo n.º 21
0
 public DataTable adminSel()
 {
     adminDA admin = new adminDA();
     return admin.adminSel();
 }
Ejemplo n.º 22
0
 public DataTable orderDetaile(string orderID)
 {
     adminDA admin = new adminDA();
     return admin.orderDetaile(orderID);
 }
Ejemplo n.º 23
0
 public int admin_Del(string id)
 {
     adminDA admin = new adminDA();
     return admin.admin_Del(id);
 }
Ejemplo n.º 24
0
        public DataTable memDate(string mID)
        {
            adminDA admin = new adminDA();
            return admin.memDate(mID);

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