Unit 2 Practical 2
Design a web page to take eno, empid, ename, username, password, confirm password, Date of birth, gender, city, email, mobile number, Experience years. Do validations as below:
- All fields are compulsory
- EmpID as "EMP0001" i.e. first 3 characters "EMP" with 4 digits.
- Name should contain only alphabets.
- Minimum length of password should be 8.
- Birth date should be between 1985 and 2000.
- Experience years between 2 to 10.
- Email should be in valid format.
- Mobile number should of exactly 10 digits.
- City compulsory "Ahmedabad" .
- Give demo of validation summary.
First you have to modify Web.config file as below:
Web.config
U2_P2.aspx
OUTPUT:
