ASP.net membership role and Rights Management (II) __.net

Source: Internet
Author: User

original link http://www.cnblogs.com/wqq4522/archive/2010/04/22/1717900.html

words to the above

No setting now, you can see it in the vs2005 view of

So, once the membership is set up correctly, the registered user can immediately use it. This is the default template for CreateUserWizard, and you can create the template you need, VS2005 can help you convert it. You can modify it, and that's what happens when you convert.

  1 <asp:createuserwizard id= "CreateUserWizard1" runat= "Server" continuedestinationpageurl= "~/default.aspx" activestepindex= "1" >
2 <WizardSteps>
3 <asp:createuserwizardstep runat= "Server" >
4 <ContentTemplate>
5 <table border= "0" >
6 <tr>
7 <td align= "Center" colspan= "2" >
8 Registering a new account </td>
9 </tr>
Ten <tr>
One <td align= "right" >
<asp:label id= "Usernamelabel" runat= "Server" associatedcontrolid= "UserName" > Username: </ Asp:label></td>
<td>
<asp:textbox id= "UserName" runat= "Server" ></asp:TextBox>
<asp:requiredfieldvalidator id= "usernamerequired" runat= "Server" controltovalidate= "User Name "
Errormessage= "User name must be filled in." "Tooltip=" must fill in "username". "Validationgroup=" CreateUserWizard1 ">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
&LT;TD align= "Right" >
<asp:label id= "Passwordlabel" runat= "Server" associatedcontrolid= "Password" > Password: </a Sp:label></td>
<td>
<asp:textbox id= "Password" runat= "Server" textmode= "Password" ></asp:TextBox>
<asp:requiredfieldvalidator id= "passwordrequired" runat= "Server" controltovalidate= "pass Word
errormessage= "Password" must be filled in. "tooltip=" must be filled in "password". "Validationgroup=" CreateUserWizard1 ">*</asp:RequiredFieldValidator>
 26            &nb

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.