<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Ex3-4.aspx.cs" Inherits="Ex3_4" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Ex3-4</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        输入成绩：<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:RangeValidator ID="RangeValidator1" runat="server" 
            ControlToValidate="TextBox1" MaximumValue="100" MinimumValue="0" 
            Type="Double">0-100之间</asp:RangeValidator>
        <br />
        <asp:Button ID="Button1" runat="server" Text="提交" />
    </div>
    </form>
</body>
</html>
