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";
 }