Ejemplo n.º 1
0
        public void EntryGetByMemberIDNo(DataGridView entryList, Label lblcount)
        {
            try
            {
                DataSet   dtResult = new DataSet();
                DataTable dtEnrtry = new DataTable();

                entry = new DAL.Entry();
                PopulateDataLayer("entry");
                dtResult = entry.EntryGetByMemberIDNo();

                if (dtResult.Tables.Count > 0)
                {
                    dtEnrtry                     = dtResult.Tables[0];
                    entryList.DataSource         = dtEnrtry;
                    lblcount.Text                = string.Format("{0:#,##0}", dtEnrtry.Rows.Count.ToString());
                    entryList.Columns[0].Visible = false;
                    entryList.Columns[4].Visible = false;
                    entryList.Columns[5].Visible = false;
                    entryList.Columns[6].Visible = false;
                    entryList.Columns[9].Visible = false;
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Ejemplo n.º 2
0
 public Boolean Save()
 {
     try
     {
         DalEntry = new DAL.Entry();
         return(DalEntry.Save(this));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 3
0
 public DataSet GetMemberEclockEntry()
 {
     try
     {
         DalEntry = new DAL.Entry();
         return(DalEntry.GetMemberEclockEntry(this));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 4
0
 public DataSet VerifyRFID()
 {
     try
     {
         DalEntry = new DAL.Entry();
         return(DalEntry.VerifyRFID(this));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 5
0
 public DataSet GetReleasePointDetails()
 {
     try
     {
         DalEntry = new DAL.Entry();
         return(DalEntry.GetReleasePointDetails(this));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 6
0
        public DataSet GetStickerCredit()
        {
            try
            {
                DataSet   dtResult = new DataSet();
                DataTable dtEnrtry = new DataTable();

                entry = new DAL.Entry();
                PopulateDataLayer("entry");
                return(entry.GetStickerCredit());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Ejemplo n.º 7
0
 public Boolean EntryDelete()
 {
     try
     {
         Boolean status = false;
         entry = new DAL.Entry();
         PopulateDataLayer("entry");
         entry.MemberDetailsDelete();
         MessageBox.Show("Record Successfully Deleted!", "Delete Record");
         status = true;
         return(status);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 8
0
 public Boolean SaveDuplicateEntry()
 {
     try
     {
         Boolean status = false;
         entry = new DAL.Entry();
         PopulateDataLayer("entry");
         entry.SaveDuplicateEntry();
         MessageBox.Show("Race Entry Record Save!", "Record Save");
         status = true;
         return(status);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }