Ejemplo n.º 1
0
 //DEREK DNC UPDATE 2014-03-03
 public void RefreshPreset(int preset, string strMembershipID, string aBranchCode)
 {
     if (preset == 0)
     {
         dtblPreset = myMember.SelectLast15(aBranchCode);
     }
     else if (preset == 1)
     {
         dtblPreset = myMember.SelectBirthOfMonth(aBranchCode);
     }
     else if (preset == 2)
     {
         dtblPreset = myMember.SelectExpireInAWeek(aBranchCode);
     }
     else
     {
         dtblPreset = myMember.SelectFixedOne(strMembershipID, aBranchCode);
     }
 }
Ejemplo n.º 2
0
 public MemberRecord(string strMembershipID, string strBranchCode)
 {
     myMember   = new TblMember();
     dtblPreset = myMember.SelectFixedOne(strMembershipID, strBranchCode);
 }