Home > Back-end >  Dynamic website
Dynamic website

Time:11-07

1 create SQL Server database, the database name for the exam, create a Data table, table, called the userinfo stored in the App Data folder under the current site, field and type the following:
The name nvarchar (50) primary key is not null
Password nvarchar (50) is not null
Email nvarchar (50) is not null
Addr nvarchar (50) is not null
2. New website, my student number + name (format for 000000 zhang SAN), on the building up of the following web site form:
The user name textbox
Password textbox
The login button
Register the HyperLink
Email address textbox
Make sure the button
3.
(1) DLog. Aspx and Zreg. Aspx form all form item is not empty, mail E-mail standard format;
(2) the password and confirm password must be the same, and the user name has uniqueness, which cannot be repeated the name field in the database,
4.
(1) DLog. Aspx page as home page, when the user clicks the login button and enter the database to check user name and password fields, when a user name and password are successfully authenticated, enters ZJM. Aspx, and to save the user name information to the Session object, otherwise, prompt the user login failed,
Registration (2) when the user clicks the hyperlink, system jump to ZReg. Aspx page, in ZReg. Aspx page, users click "ok" button, the system will form the userinfo information saved to the database table, then jump to DLog. Aspx page, build web form ZJM. Aspx, used to receive the Session variable, and output records in a database table the userinfo in table manner,

CodePudding user response:

Bosses, seek help, save a small white
  • Related