예제 #1
0
        public void Delete()
        {
            drow.Delete();
            ClsBooksTable c = new ClsBooksTable();

            c.Save();
        }
예제 #2
0
        public ClsBooks(int id)
        {
            ClsBooksTable cat = new ClsBooksTable();

            drow = cat.Find(id);
            FillFields();
        }
예제 #3
0
        public void Add()
        {
            ClsBooksTable ct = new ClsBooksTable();

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