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; } }
public Boolean Save() { try { DalEntry = new DAL.Entry(); return(DalEntry.Save(this)); } catch (Exception ex) { throw ex; } }
public DataSet GetMemberEclockEntry() { try { DalEntry = new DAL.Entry(); return(DalEntry.GetMemberEclockEntry(this)); } catch (Exception ex) { throw ex; } }
public DataSet VerifyRFID() { try { DalEntry = new DAL.Entry(); return(DalEntry.VerifyRFID(this)); } catch (Exception ex) { throw ex; } }
public DataSet GetReleasePointDetails() { try { DalEntry = new DAL.Entry(); return(DalEntry.GetReleasePointDetails(this)); } catch (Exception ex) { throw ex; } }
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; } }
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; } }
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; } }