ValidationGroup 使用 留意 +++Membership 数据表结构详细解释

<% @ Page Language = " C# "   %>

< html >
  
< body >
    
< form runat = " server " >

      
< h3 > BaseValidator ValidationGroup Example </ h3 >
     
      Please enter your name:
< br />
      
< asp:textbox id = " NameTextBox "  
        runat
= " server " />

      
< asp:requiredfieldvalidator id = " NameTextBoxRequiredValidator "  
        controltovalidate
= " NameTextBox "
        display
= " Dynamic "  
        text
= " Please enter your name. "
        validationgroup="UserInfoGroup" 
        runat = " server " />

      
< br >< br >

      
< asp:button id = " SubmitButton "
        text
= " Submit "
        validationgroup="UserInfoGroup" 
        runat = " server " />
        
      
< hr />
      
      Please enter a search topic:
< br />
      
< asp:textbox id = " SearchTextBox "  
        runat
= " server " />

      
< asp:requiredfieldvalidator id = " SearchTextBoxRequiredValidator "  
        controltovalidate
= " SearchTextBox "
        display
= " Dynamic "  
        text
= " Please enter a topic. "
        validationgroup="SearchGroup"
        runat = " server " />

      
< br >< br >

      
< asp:button id = " SearchButton "
        text
= " Search "
        validationgroup="SearchGroup"
        runat = " server " />
 
    
</ form >
  
</ body >
</ html >

Membership 数据表结构详细解释

你可能感兴趣的:(validation)