This article is a mirror article of machine translation, please click here to jump to the original article.

View: 19835|Reply: 0

[ASP.NET] asp.net the registration page (connected to the database) to determine whether the username, password, and other controls are correct

[Copy link]
Posted on 3/29/2015 11:20:51 AM | | | |






The homework done in class, a simple registration page, just judged whether the username was empty and whether it was registered.

Whether the user password is entered the same twice, whether the age is entered correctly, and whether the email format is correct.

Attach the database code:

  1. create database itsvse
  2. go
  3. use itsvse
  4. go

  5. create table itinfo(
  6.         i_user varchar(10) primary key,
  7.         i_pwd varchar(10) not null
  8. )
  9. go

  10. insert into itinfo values('admin','123')
  11. insert into itinfo values('1','123')
  12. insert into itinfo values('2','123')
  13. insert into itinfo values('3','123')

  14. select count(*) from itinfo where i_user = ''
Copy code


Source Code Download: itsvseReg.rar (160.77 KB, Number of downloads: 2, Selling price: 1 Grain MB)




Previous:Alipay credit card Huabei function is finally here? Test how much you can overdraw?
Next:How tall is it to make an APP by a great god=. =
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com