解决:
\Controls\ValidateCodeImage.aspx
---打开这个文件,找到下面代码:
<div>
<pe:ValidateCodeImage ID="ValidateCodeImage1" runat="server"
ValidateCodeFontSize="10" ValidateCodeMaxLength="6" ValidateCodeMinLength="4"
ValidateCodeLengthMode="static" />
</div>
修改为:
<div>
<pe:ValidateCodeImage ID="ValidateCodeImage1" ValidateCodeBoundString="0|1|2|3|4|5|6|7|8|9" runat="server"
ValidateCodeFontSize="10" ValidateCodeMaxLength="6" ValidateCodeMinLength="4"
ValidateCodeLengthMode="static" />
</div>
红色为自己修改的。