Beispiel #1
0
        public bool register(User user)
        {
            string sql = String.Format("insert into user(username,password,tel,email) values('{0}','{1}','{2}','{3}')", user.Username, user.Password, user.Tel, user.Email);

            return(userData.ExecuteNonQuery(sql));
        }