为什么说.net中的RangeValidator不能算作一个长尾关键词?

2026-03-30 11:450阅读0评论SEO资源
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计116个文字,预计阅读时间需要1分钟。

为什么说.net中的RangeValidator不能算作一个长尾关键词?

我在TextBox中验证字符串的长度。页面上的控件定义如下:

asp

我试图验证TextBox中字符串的长度.页面上的控件定义如下:

为什么说.net中的RangeValidator不能算作一个长尾关键词?

<asp:TextBox runat="server" ID="TB" /> <asp:RangeValidator runat="server" ID="RV" MinimumValue="3" MaximumValue="20" ControlToValidate="TB" Type="String" />

但是当页面运行时出现运行时错误

The MaximumValue 20 cannot be less
than the MinimumValue 3

你提到Type不正确,它应该是Type =“Integer”而不是Type =“String”

本文共计116个文字,预计阅读时间需要1分钟。

为什么说.net中的RangeValidator不能算作一个长尾关键词?

我在TextBox中验证字符串的长度。页面上的控件定义如下:

asp

我试图验证TextBox中字符串的长度.页面上的控件定义如下:

为什么说.net中的RangeValidator不能算作一个长尾关键词?

<asp:TextBox runat="server" ID="TB" /> <asp:RangeValidator runat="server" ID="RV" MinimumValue="3" MaximumValue="20" ControlToValidate="TB" Type="String" />

但是当页面运行时出现运行时错误

The MaximumValue 20 cannot be less
than the MinimumValue 3

你提到Type不正确,它应该是Type =“Integer”而不是Type =“String”