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