예제 #1
0
        public void checkUsername(string uname)
        {
            int i = DATAdd.checkuname(uname);

            if (i == 1)
            {
                Exception tmpex = new Exception("Username already existing.");
                throw tmpex;
            }
        }
예제 #2
0
 public void Add()
 {
     DATAdd.ADD(uname, pass, fname, mname, lname, gender, bday, email, contact, occupation);
 }