public void Delete() { drow.Delete(); ClsBooksBeingBorrowedTable c = new ClsBooksBeingBorrowedTable(); c.Save(); }
public ClsBooksBeingBorrowed(int id) { ClsBooksBeingBorrowedTable cat = new ClsBooksBeingBorrowedTable(); drow = cat.Find(id); FillFields(); }
public void Add() { ClsBooksBeingBorrowedTable ct = new ClsBooksBeingBorrowedTable(); drow = ct.GetNewRow(); FillDataRow(); ct.AddRow(drow); }
public void Update() { FillDataRow(); Bll.ClsBooksBeingBorrowedTable c = new ClsBooksBeingBorrowedTable(); c.Save(); }