Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="LoanCalculator._Default" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title></title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <h2>Loan Calculator</h2>
- <!-- Loan Amount -->
- <label for="txtLoanAmount">Loan Amount:</label>
- <asp:TextBox ID="txtLoanAmount" runat="server" />
- <br />
- <!-- Interest Rate -->
- <label for="txtInterestRate">Interest Rate (Annual %):</label>
- <asp:TextBox ID="txtInterestRate" runat="server" />
- <br />
- <!-- Loan Term -->
- <label for="txtLoanTerm">Loan Term (in years):</label>
- <asp:TextBox ID="txtLoanTerm" runat="server" />
- <br />
- <!-- Calculate Button -->
- <asp:Button ID="btnCalculate" runat="server" Text="Calculate" />
- <br />
- <!-- Result Label -->
- <asp:Label ID="lblResult" runat="server" Text="Result will appear here"></asp:Label>
- </div>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement