跳过验证控件执行程序

将Button控件的CausesValidation属性设置为False即可.
<asp:Button id="Button2" runat="server" Width="70px" Text="检测用户名" CausesValidation=False></asp:Button>
posted on 2006-05-09 13:59  张波  阅读(314)  评论(0)    收藏  举报