Create a single ASP.NET page (.aspx). This means that both the presentation and programming logic will be in a single file! Do not use code-behind; do not create a new web site.
The page should accept two numbers from the user and display the result of a basic arithmetic operation. Use two text boxes to collect the user’s input and a label to display the result of the operation. You will need five buttons: Add, Subtract, Divide, Multiply, and Clear. Also use the standard event handler code defined in the “Code Declaration Blocks”. Each button should have its own Click event procedure.
Your calculator must accept numbers with decimal points!
The clear button should clear both text boxes and the label.
Do not allow division by zero!
Do not allow the user to perform arithmetic if missing one or both of the numbers.
You can NOT use validation controls.
The application should not crash!
CS 557
Project 2
Assigned: 4/20/2013
Due: 4/27/2013
Create a single ASP.NET page (.aspx). This means that both the presentation and programming logic will be in a single file! Do not use code-behind; do not create a new web site.
The page should accept two numbers from the user and display the result of a basic arithmetic operation. Use two text boxes to collect the user’s input and a label to display the result of the operation. You will need five buttons: Add, Subtract, Divide, Multiply, and Clear. Also use the standard event handler code defined in the “Code Declaration Blocks”. Each button should have its own Click event procedure.
Your calculator must accept numbers with decimal points!
The clear button should clear both text boxes and the label.
Do not allow division by zero!
Do not allow the user to perform arithmetic if missing one or both of the numbers.
You can NOT use validation controls.
The application should not crash!
CS 557
Project 2
Assigned: 4/20/2013
Due:…





