Exemple #1
0
        public void Delete()
        {
            drow.Delete();
            ClsBookTypeTable c = new ClsBookTypeTable();

            c.Save();
        }
Exemple #2
0
        public ClsBookType(int id)
        {
            ClsBookTypeTable cat = new ClsBookTypeTable();

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

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