public Boolean validateEmailExistance(String aString) { GuestHandler gh = new GuestHandler(); if (gh.emailExists(aString)) { return noErrors = false; } else { return noErrors = true; } }
public Boolean validateEmailExistance(String aString) { GuestHandler gh = new GuestHandler(); if (gh.emailExists(aString)) { return(noErrors = false); } else { return(noErrors = true); } }
public static void loadDocTypesToCombo(ComboBox combo, GuestHandler gh) { combo.DataSource = gh.getDocTypes().Tables[0]; combo.DisplayMember = "doc_type"; combo.ValueMember = "doc_type"; }