Project 2: Use of Web Form Controls, Intrinsic Objects, and CodeBehinds
Due: Tuesday 9/30
This is an extension of Project 1. It will add the following features:
1. Use a Code Behind. Put as much of the processing as possible in the Code Behind and the User Interface (html) in the ASPX page.
2. When the page is first loaded show only the dropdown. When the user selects a state from the dropdown, all of the other controls will appear.
3. Add another text box that will accept the user’s name. Store this name in a session object.
4. Count the total number of guesses and store the count in a session object.
5. Count the number of correct and incorrect guesses and store these counts in session objects.
6. Add another aspx page, Report.aspx.
(a) Place a button on the first page that will launch Report.aspx by means of a redirect statement
(b) Report.aspx will display the User’s name, total number of guesses and number of correct and incorrect guesses in a table.
(c) Place 2 radio buttons and a submit on Report.aspx. One option is to end the session. The second option is to return to the first page and continue with the game.
Send an e-mail message with your name and account (c4309ssuu) to the TA, James Joseph, at email@example.com stating that you have finished the project. He will send you a receipt.
Each assignment has a deadline, shown in the Due Date column of the Project Schedule. Submission policy is that an assignment turned in by the Due Date gets the full letter grade. It can be turned in up to one week late but will be downgraded by 1 letter grade. It will not be accepted after the Late Date.