Exemple #1
0
        public ClsBorrowingBooks(int id)
        {
            ClsBorrowingBooksTable cat = new ClsBorrowingBooksTable();

            drow = cat.Find(id);
            FillFields();
        }
Exemple #2
0
        public void Delete()
        {
            drow.Delete();
            ClsBorrowingBooksTable c = new ClsBorrowingBooksTable();

            c.Save();
        }
Exemple #3
0
        public void Add()
        {
            ClsBorrowingBooksTable ct = new ClsBorrowingBooksTable();

            drow = ct.GetNewRow();
            FillDataRow();
            ct.AddRow(drow);
        }
Exemple #4
0
 public void Update()
 {
     FillDataRow();
     Bll.ClsBorrowingBooksTable c = new ClsBorrowingBooksTable();
     c.Save();
 }