📄 webloanform.aspx
字号:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebLoanForm.aspx.vb" Inherits="WebLoanCalculator.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body bgColor="#ccffff" ms_positioning="GridLayout">
<form id="Form1" method="post" runat="server">
<P align="left">
<asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 56px; POSITION: absolute; TOP: 75px" runat="server">Loan Amount</asp:Label>
<asp:RangeValidator id="RangeValidator3" style="Z-INDEX: 116; LEFT: 361px; POSITION: absolute; TOP: 158px" runat="server" Height="24px" Width="329px" ErrorMessage="Interest rate must be a value from 3% to 20%" ControlToValidate="txtRate" Font-Bold="True" MaximumValue="20" MinimumValue="3" Type="Double">Interest rate must be a value from 3% to 20%</asp:RangeValidator>
<asp:RangeValidator id="RangeValidator2" style="Z-INDEX: 115; LEFT: 360px; POSITION: absolute; TOP: 116px" runat="server" Height="38px" Width="287px" ErrorMessage="The duration must be from 6 to 96 months" ControlToValidate="txtDuration" Font-Bold="True" MinimumValue="6" MaximumValue="96" Type="Integer">The duration must be from 6 to 96 months</asp:RangeValidator>
<asp:RangeValidator id="RangeValidator1" style="Z-INDEX: 114; LEFT: 360px; POSITION: absolute; TOP: 76px" runat="server" Height="38px" Width="316px" ErrorMessage="Amount must be between $5,000 and $500,000" ControlToValidate="txtAmount" Font-Bold="True" MaximumValue="500000" MinimumValue="5000" Type="Currency">Amount must be between $5,000 and $500,000</asp:RangeValidator>
<asp:ValidationSummary id="ValidationSummary1" style="Z-INDEX: 113; LEFT: 36px; POSITION: absolute; TOP: 292px" runat="server" Height="86px" Width="318px" HeaderText="The page you submited contains the following errors"></asp:ValidationSummary>
<FONT style="BACKGROUND-COLOR: #ffff66" color="#996666" size="6"><STRONG>Easy Loan
Calculator</STRONG></FONT>
<asp:CheckBox id="chkPayEarly" style="Z-INDEX: 109; LEFT: 52px; POSITION: absolute; TOP: 200px" runat="server" Width="115px" Height="20px" Text="Early Payment " TextAlign="Left"></asp:CheckBox>
<asp:Button id="bttnShowPayment" style="Z-INDEX: 108; LEFT: 50px; POSITION: absolute; TOP: 248px" runat="server" Width="120px" Height="24px" Text="Monthly Payment"></asp:Button>
<asp:TextBox id="txtAmount" style="Z-INDEX: 107; LEFT: 184px; POSITION: absolute; TOP: 72px" runat="server"></asp:TextBox>
<asp:TextBox id="txtDuration" style="Z-INDEX: 106; LEFT: 184px; POSITION: absolute; TOP: 114px" runat="server" Width="54px" Height="24px"></asp:TextBox>
<asp:TextBox id="txtRate" style="Z-INDEX: 105; LEFT: 184px; POSITION: absolute; TOP: 158px" runat="server" Width="68px" Height="24px"></asp:TextBox>
<asp:TextBox id="txtPayment" style="Z-INDEX: 104; LEFT: 184px; POSITION: absolute; TOP: 246px" runat="server" Width="93px" Height="26px"></asp:TextBox>
<asp:Label id="Label3" style="Z-INDEX: 103; LEFT: 52px; POSITION: absolute; TOP: 162px" runat="server">Interest Rate</asp:Label>
<asp:Label id="Label2" style="Z-INDEX: 102; LEFT: 54px; POSITION: absolute; TOP: 118px" runat="server">Duration (moths)</asp:Label>
</P>
<asp:RequiredFieldValidator id="RequiredFieldValidator3" style="Z-INDEX: 110; LEFT: 360px; POSITION: absolute; TOP: 159px" runat="server" Height="19px" Width="208px" ErrorMessage="Interest rate can't be zero" ControlToValidate="txtRate" Font-Bold="True">Please specify the interest rate</asp:RequiredFieldValidator>
<asp:RequiredFieldValidator id="RequiredFieldValidator1" style="Z-INDEX: 111; LEFT: 358px; POSITION: absolute; TOP: 75px" runat="server" Height="19px" Width="228px" ErrorMessage="Amount can't be zero" ControlToValidate="txtAmount" Font-Bold="True">Please specify the loan's amount</asp:RequiredFieldValidator>
<asp:RequiredFieldValidator id="RequiredFieldValidator2" style="Z-INDEX: 112; LEFT: 362px; POSITION: absolute; TOP: 117px" runat="server" Height="19px" Width="236px" ErrorMessage="Duration can't be zero" ControlToValidate="txtDuration" Font-Bold="True">Please specify the loan's duration</asp:RequiredFieldValidator>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -