示例#1
0
        public void Delete()
        {
            drow.Delete();
            ClsBooksBeingBorrowedTable c = new ClsBooksBeingBorrowedTable();

            c.Save();
        }
示例#2
0
        public ClsBooksBeingBorrowed(int id)
        {
            ClsBooksBeingBorrowedTable cat = new ClsBooksBeingBorrowedTable();

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

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