テキストボックスへのエントリがIntegerであることを確認するRegularExpressionValidatorを書き込もうとしています(「。」または「、」は含まれていません。 )サーバタグがうまく構成されていない - RegularExpressionValidator
しかし、私はこの遭遇した次のようなコードがある
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The server tag is not well formed.
を:
<asp:TextBox ID="Paymenttb" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID ="PaymentValidator" runat="server" ControlToValidate="Paymenttb"
ErrorMessage="Payment must be of type Int (No "." or "," for example)." ValidationExpression="^\d+$">*</asp:RegularExpressionValidator>
これに伴う問題は何ですか? 私は検索して、これがうまく形成されない理由を見つけることができません。
あなたのエラーメッセージは、私はそれを見ていないと信じてすることはできません – Shai