Exemplo n.º 1
0
        public void Delete()
        {
            drow.Delete();
            ClsMembershipsTable c = new ClsMembershipsTable();

            c.Save();
        }
Exemplo n.º 2
0
        public ClsMemberships(int id)
        {
            ClsMembershipsTable cmt = new ClsMembershipsTable();

            drow = cmt.Find(id);
            FillFields();
        }
Exemplo n.º 3
0
        //public ClsMemberships(string idNumber)
        //{
        //    ClsMembershipsTable cmt = new ClsMembershipsTable();
        //    drow = cmt.Find(idNumber);
        //    FillFields();
        //}
        public void Add()
        {
            ClsMembershipsTable ct = new ClsMembershipsTable();

            drow = ct.GetNewRow();
            FillDataRow();
            ct.AddRow(drow);
        }
Exemplo n.º 4
0
 public void Update()
 {
     FillDataRow();
     Bll.ClsMembershipsTable c = new ClsMembershipsTable();
     c.Save();
 }