0% found this document useful (0 votes)
46 views3 pages

FIT441 - AIW Tutorial Advanced Internet & Web Services

The document provides instructions for building a web application called WebSite1 that performs basic calculations on two user-entered numbers. The application should include text boxes for input, buttons for arithmetic operations (+ and -), radio buttons and a drop down list for selecting a multiplication operation, and labels to display results. It should allow adding the numbers, subtracting one from the other, multiplying the result by a selected number, and adding sales tax to the final result. Screenshots show examples of the application performing an addition then a multiplication with tax calculation. Developers are instructed to parse the text box values to numbers and delete previous results for each new calculation. The completed project should be submitted as a zip file following a specified file naming convention.

Uploaded by

Meo Map
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views3 pages

FIT441 - AIW Tutorial Advanced Internet & Web Services

The document provides instructions for building a web application called WebSite1 that performs basic calculations on two user-entered numbers. The application should include text boxes for input, buttons for arithmetic operations (+ and -), radio buttons and a drop down list for selecting a multiplication operation, and labels to display results. It should allow adding the numbers, subtracting one from the other, multiplying the result by a selected number, and adding sales tax to the final result. Screenshots show examples of the application performing an addition then a multiplication with tax calculation. Developers are instructed to parse the text box values to numbers and delete previous results for each new calculation. The completed project should be submitted as a zip file following a specified file naming convention.

Uploaded by

Meo Map
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

FIT441 AIW Tutorial Advanced Internet & Web Services

ASP.NET Exercise
Task
Build a web application with GUI elements that performs simple calculations on two numbers. Call the application WebSite1.

GUI
Your GUI should have the following elements: body element with bgColor property, 4 Buttons, 2 TextBoxes, RadioButtonList, DropDown List and 2 Labels (one invisible see explanation below)

FIT441 AIW Tutorial Advanced Internet & Web Services

Required Functionality
The user is prompted to enter two floating point numbers into two TextBoxes fields initialized with the string "insert a value". After entering the numbers the user chooses one of the following operations: Adding the numbers by pressing the button labaled "+". Subtraction the second number from the first by pressing the button labaled "-". The resulting value is written to the field labeled "The result is:" Next, the user can multiply one of the values (chosen by radio button) by a number between 2-6 chosen from a DropDownList. The result value is written to a result label. Next, the user can click the "Add Taxes" button, which results in adding a 16.5% tax to the resulting value. The output should be written to a field labeled with an invisible label, which, at this stage, will become visible.

Sample Screen Shots


After an addition operation:

FIT441 AIW Tutorial Advanced Internet & Web Services

After multiplication of the second string by 3 and computing the final sum:

Hint: 1. Each time you recompute the resulting value, delete the previous result. 2. Before doing any computation, parse the strings into a suitable data type. For example, you can use
float.Parse(TextBox1.Text)

Submission instructions:
Submit to FIT PORTAL a Zip package containing the entire project (all the directories + all the files). Name convention: YourName_Class_aspnetexercise.zip

You might also like