  
    <body>
        <form id="form1" runat="server">
        <div>
            <span style="font-size: 10pt; font-family: 方正书宋简体; letter-spacing: 0.3pt; mso-hansi-font-family: 'Times New Roman';
                mso-bidi-font-family: 'Times New Roman'; mso-font-width: 95%; mso-ansi-language: EN-US;
                mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-no-proof: yes">请输入成绩（<span
                    lang="EN-US">0-100</span>）：</span><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" />
            <asp:【RangeValidator】 ID="RangeValidator1" 【runat】="server" 【ControlToValidate】="TextBox1"
                【ErrorMessage】="RangeValidator" 【MaximumValue】="100" MinimumValue="0" 【Type】="Integer">成绩必须在0-100之间!</asp:RangeValidator></div>
        </form>
    </body>
    </html>
    
  

--答案--
   ControlToValidate   ErrorMessage   runat   MaximumValue   RangeValidator