Esempio n. 1
0
        public void Delete()
        {
            drow.Delete();
            ClsBooksBeingBorrowedTable c = new ClsBooksBeingBorrowedTable();

            c.Save();
        }
Esempio n. 2
0
        public ClsBooksBeingBorrowed(int id)
        {
            ClsBooksBeingBorrowedTable cat = new ClsBooksBeingBorrowedTable();

            drow = cat.Find(id);
            FillFields();
        }
Esempio n. 3
0
        public void Add()
        {
            ClsBooksBeingBorrowedTable ct = new ClsBooksBeingBorrowedTable();

            drow = ct.GetNewRow();
            FillDataRow();
            ct.AddRow(drow);
        }
Esempio n. 4
0
 public void Update()
 {
     FillDataRow();
     Bll.ClsBooksBeingBorrowedTable c = new ClsBooksBeingBorrowedTable();
     c.Save();
 }