Advertisement
jdelano

Untitled

Nov 26th, 2024
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="LoanCalculator._Default" %>
  2.  
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. <head runat="server">
  7. <title></title>
  8. </head>
  9. <body>
  10. <form id="form1" runat="server">
  11. <div>
  12. <h2>Loan Calculator</h2>
  13. <!-- Loan Amount -->
  14. <label for="txtLoanAmount">Loan Amount:</label>
  15. <asp:TextBox ID="txtLoanAmount" runat="server" />
  16.  
  17. <br />
  18.  
  19. <!-- Interest Rate -->
  20. <label for="txtInterestRate">Interest Rate (Annual %):</label>
  21. <asp:TextBox ID="txtInterestRate" runat="server" />
  22.  
  23. <br />
  24.  
  25. <!-- Loan Term -->
  26. <label for="txtLoanTerm">Loan Term (in years):</label>
  27. <asp:TextBox ID="txtLoanTerm" runat="server" />
  28.  
  29. <br />
  30.  
  31. <!-- Calculate Button -->
  32. <asp:Button ID="btnCalculate" runat="server" Text="Calculate" />
  33.  
  34. <br />
  35.  
  36. <!-- Result Label -->
  37. <asp:Label ID="lblResult" runat="server" Text="Result will appear here"></asp:Label>
  38.  
  39. </div>
  40. </form>
  41. </body>
  42. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement