You are on page 1of 5

PRACTICE 04

Building a Web -Based Loan


Web-Based
Calculator
Visual Basic.NET
by Has Bunton

1
Web Application Project
ƒ System Requirement: Internet Information
Server (IIS)
ƒ Start a new project, select ASP.NET Web
Application
ƒ Name the project “WebLoanCalculator”
ƒ By default the Web form named “WebForm1.aspx”
and located in Web server root folder (usually,
C:\interpub\wwwroot folder)
ƒ The application main form is called
“WebLoanForm.aspx”. You can open the application
using IE and enter the following into its Address
Box.
“http://localhost/WebLoanCalculator/WebLoanForm.aspx”

by Has Bunton 2
The Design (1)
ƒ Rename Web form from “WebForm1”
to “WebLoanForm”.
ƒ Note:
1. Web pages use a much simpler user-
interaction model, mostly in the form
of request and reply with the server.
2. In the future, you can expect the
application running on the server be
more elaborate.
by Has Bunton 3
The Design (2)
ƒ Use Web controls and follow the
design of previous LoanCalculator
project to create interface as
follows.

by Has Bunton 4
Coding and Testing
ƒ You can copy and paste the code of
the previous Loan Calculator
Application here
ƒ Click F5 to run the application

End! by Has Bunton 5

You might also like