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

            c.Save();
        }
예제 #2
0
        public ClsOrders(int id)
        {
            ClsOrdersTable cot = new ClsOrdersTable();

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

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