示例#1
0
        public ClsMembers(string id)
        {
            ClsMembersTable cmt = new ClsMembersTable();

            drow = cmt.Find(id);
            FillFields();
        }
示例#2
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();
     }
 }