Create an ASP.Net application that accepts name, password, age, email ID, and user ID. All the information entries are compulsory. The password should be reconfirmed. Age should be within 21 to 30. Email ID should be valid. User ID should have at least one capital letter, one digit, and its length should be between 7 and 20 characters.
Answer: Default.aspx: Default.aspx.cs: