Exemplo n.º 1
0
 public DataSet UnregMobileNumber(string ClubID, String mobileNumber, string UserID, string keyword)
 {
     try
     {
         DAL.Member common = new DAL.Member();
         return(common.WebClockingSave(ClubID, mobileNumber, keyword, "Unreg", UserID));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 public void MemberDetailsSelectAll(DataGridView memberList)
 {
     try
     {
         member = new DAL.Member();
         PopulateDataLayer();
         memberList.DataSource = member.MemberDetailsSelectAll().Tables[0];
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 3
0
        public DataTable UnregMobileNumber(string ClubID, String Mobilenumber, string UserID)
        {
            member = new DAL.Member();
            DataSet   dsResult = member.UnregMobileNumber(ClubID, Mobilenumber, UserID, "UNREG");
            DataTable dtResult = new DataTable();

            if (dsResult.Tables.Count > 0)
            {
                dtResult = dsResult.Tables[0];
            }

            return(dtResult);
        }
Exemplo n.º 4
0
 public DataTable ExportEClockMasterlist()
 {
     try
     {
         member = new DAL.Member();
         PopulateDataLayer();
         DataTable dt = member.MemberDetailsSelectAll().Tables[0];
         return(dt);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 5
0
 public DataTable GetMembetDistancePerReleasePoint()
 {
     try
     {
         member = new DAL.Member();
         DataTable dataResult = new DataTable();
         PopulateDataLayer();
         dataResult = member.GetMembetDistancePerReleasePoint().Tables[0];
         return(dataResult);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 6
0
 public DataSet GetMemberDistance()
 {
     try
     {
         member = new DAL.Member();
         DataSet dataResult = new DataSet();
         PopulateDataLayer();
         dataResult = member.GetMemberDistance();
         return(dataResult);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 7
0
 public DataTable MemberRingSearchByKey()
 {
     try
     {
         member = new DAL.Member();
         DataTable dataResult = new DataTable();
         PopulateDataLayer();
         dataResult = member.MemberRingSearchByKey().Tables[0];
         return(dataResult);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 8
0
 public DataSet MemberDetailsSearchByKey()
 {
     try
     {
         member = new DAL.Member();
         DataSet dataResult = new DataSet();
         PopulateDataLayer();
         dataResult = member.MemberDetailsSearchByKey();
         return(dataResult);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 9
0
 public Boolean RFIDRegisterSave()
 {
     try
     {
         Boolean status = false;
         member = new DAL.Member();
         PopulateDataLayer();
         member.RegisterRFIDSave();
         status = true;
         return(status);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 10
0
 public Boolean MemberRingDelete()
 {
     try
     {
         Boolean status = false;
         member = new DAL.Member();
         PopulateDataLayer();
         member.MemberRingDelete();
         MessageBox.Show("Record Successfully Deleted!", "Delete Record");
         status = true;
         return(status);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 11
0
 public Boolean Save()
 {
     try
     {
         Boolean status = false;
         member = new DAL.Member();
         PopulateDataLayer();
         member.Save();
         //MessageBox.Show("Member Record Save!", "Record Save");
         status = true;
         return(status);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }