텍스트 상자에 항목이 정수 ("."또는 ",", "500"과 같은 정수 값만 포함하지 않는지 확인하기 위해 검사하는 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