public DataTable SearchMember(string searchKey, object strBranchCode, SearchMemberType aMemberType, int page) { object fMember; if (aMemberType == SearchMemberType.AllMember) { fMember = DBNull.Value; } else if (aMemberType == SearchMemberType.MemberOnly) { fMember = true; } else { fMember = false; } return(myMember.Search(searchKey, strBranchCode, fMember, page, 100)); }
public DataTable SearchMember(string searchKey, object strBranchCode, SearchMemberType aMemberType, int page) { object fMember; if (aMemberType == SearchMemberType.AllMember) fMember = DBNull.Value; else if (aMemberType == SearchMemberType.MemberOnly) fMember = true; else fMember = false; return myMember.Search(searchKey, strBranchCode, fMember, page, 100); }