membership中创建用户的用户名的规则在那里设置?
我用微软的控件做的用户校验
但用户名的限制不知道在那里设,比方说用户名的全半角,字母, 数字限制等
请问,
membership中创建用户的用户名的规则在那里设置?
------解决方案-------------------- 在web.config中设
<configuration>
<system.web>
<membership defaultProvider= "SQLMembershipProvider ">
<providers>
<add name= "SQLMembershipProvider " type= "System.Web.Security.SqlMembershipProvider " connectionStringName= "SQLMembershipConnString " passwordFormat= "Hashed "
minRequiredNonalphanumericCharacters= "0 " minRequiredPasswordLength= "3 "
/>
</providers>
</membership>
</system.web>
</configuration>
------解决方案-------------------- 是哦,那你可能需要自己拖个validator控件了.