public Boolean validateEmailExistance(String aString) {
            GuestHandler gh = new GuestHandler();
            if (gh.emailExists(aString))
            {
               return noErrors = false;
            }
            else {
                return noErrors = true;
            }

 
        }
示例#2
0
        public Boolean validateEmailExistance(String aString)
        {
            GuestHandler gh = new GuestHandler();

            if (gh.emailExists(aString))
            {
                return(noErrors = false);
            }
            else
            {
                return(noErrors = true);
            }
        }
示例#3
0
 public static void loadDocTypesToCombo(ComboBox combo, GuestHandler gh) {
       combo.DataSource = gh.getDocTypes().Tables[0];
       combo.DisplayMember = "doc_type";
       combo.ValueMember = "doc_type";
 }
示例#4
0
 public static void loadDocTypesToCombo(ComboBox combo, GuestHandler gh)
 {
     combo.DataSource    = gh.getDocTypes().Tables[0];
     combo.DisplayMember = "doc_type";
     combo.ValueMember   = "doc_type";
 }