Sessional 2 Question Paper
COMSATS University Islamabad, Vehari Campus
Department of Computer Science
Subject: Web Technologies Instructor: Zahid Anwar
Class: BSCS-B17 A&B Maximum Marks: 15
Answer the following questions:
- What is _Layout page explain the relationship between layout page and partial page. 
- What is Range validator control? explain with example.
- How to set optional parameter in model. 
- Which elements you have to write in your Database connection string? 
- Write the purpose of business logic layer and data access layer?
- Write a regular expression to validate Email and Password (password must contain a capital letter, small letter, and a number). 
- What is a Stored Procedure, write a stored procedure for the following table that insert only Email, Password and Fname value to the table?