验证中...
Languages: ASP
Categories: 编程语言基础
Latest update 2018-12-28 08:29
gistfile1.txt
Raw Copy
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="_3_7.WebForm1" %>
<!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>
&nbsp; &nbsp;&nbsp;价格
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
&nbsp;
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="TextBox1"
ErrorMessage="输入大于0的数值" Operator="GreaterThan" Type="Double" ValueToCompare="0"></asp:CompareValidator>
<asp:Button ID="Button1" runat="server" Text="提 交" /></div>
</form>
</body>
</html>

Comment list( 0 )

You need to Sign in for post a comment

Help Search

Gitee_you_jiang_zheng_wen Zheng_wen_close