CS 432
Assignment 2
ASP.NET
Out 2/7/2008, Due 2/14/2008
Objective(s)
1. To use ASP.NET server controls with events
2.
To use codebehind
along with partial classes
3. To use CSS to format the page
1.
This sheet
2.
Screen shots
3. Your code
Create a simplified tax calculation application:
Here’s how the program should work. The user will first enter all their income one at a time (e.g., My wages, Interest, Spouse’s wages, Capital gains, etc.). Each time the user enters the source and the amount and clicks the “+” button. In response to this event, you have to add the amount to the total income and display each income on a separate line.
When all the income is entered, the user will enter the deductions one at a time (Child care, IRA, Charity, etc.). As before you will keep track of the total deductions and display each deduction on a separate line.
Finally, the user will click the “Calculate Tax” button. In response to this, you will subtract the total deductions from the total income and the user’s tax will be displayed. Disallow cases where the deductions are greater than the income.
Use CSS to separate the various sections into color coded units.
Graduate Students
Enhance the tax calculator to include such things as: