Beispiel #1
0
        public void Delete()
        {
            drow.Delete();
            ClsMembersTable c = new ClsMembersTable();

            c.Save();
        }
Beispiel #2
0
        public ClsMembers(string id)
        {
            ClsMembersTable cmt = new ClsMembersTable();

            drow = cmt.Find(id);
            FillFields();
        }
Beispiel #3
0
        public void Add()
        {
            ClsMembersTable ct = new ClsMembersTable();

            drow = ct.GetNewRow();
            FillDataRow();
            ct.AddRow(drow);
        }
Beispiel #4
0
 public ClsMembers(string id, string s)
 {
     if (s == "ID")
     {
         ClsMembersTable cmt = new ClsMembersTable();
         drow = cmt.Find(id);
         FillFields();
     }
     else
     {
         ClsMembersTable cmt = new ClsMembersTable();
         //drow = cmt.Find("LastName" + "FirstName", id);
         drow = cmt.Find("LastAndFirstName", id);
         FillFields();
     }
 }
Beispiel #5
0
 public void Update()
 {
     FillDataRow();
     Bll.ClsMembersTable c = new ClsMembersTable();
     c.Save();
 }