public ClsMembers(string id) { ClsMembersTable cmt = new ClsMembersTable(); drow = cmt.Find(id); FillFields(); }
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(); } }