Esempio n. 1
0
        public bool CreateUser(String email, String name, String mobile, String address, String gender)
        {
            bool   temp  = false;
            String query = String.Format("insert into UserData values({0}+1,'{1}','{2}','{3}','{4}','{5}')", GetMaxID("UserData"), email, name, mobile, address, gender);

            if (bl.NonQuery(query) == 1)
            {
                temp = true;
            }
            return(temp);
        }