Click here to Skip to main content
15,032,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to use asp.net login control with database with c# in project.
Posted

ASP.NET login control works with the ASP.NET membership and Roles mechanism. You can use the default mechanism or customize the membership providers. details below:

Understanding ASP.NET Roles and Membership - A Beginner's Tutorial[^]

Although sometimes we may not want to have the memebrship database and use our own database instead. in that case this login control cannot be used as is. we will need to write our own code to handle the authetication and authorization in this case. details below:

Understanding and Implementing ASP.NET Custom Forms Authentication[^]

I hope this reference will help you in your problem. if not do let me know and I will try to refine my answer.
   
Comments
touseef4pk 28-Jun-12 4:05am
   
5+
Login Controls were released by Microsoft from ASP.NET 2.0, have a look at them here[^].

For, building Login Page using Login control, look:
How to: Create an ASP.NET Login Page[^]
ASP.NET Login Controls Overview[^]
How to add a Login, Roles and Profile system to an ASP.NET 2.0 [^]
   
Have a look at below Link. This is very simple and complete told.
http://www.dotnetfunda.com/articles/article808-how-to-write-a-simple-login-page-in-aspnet.aspx[^]
   
Comments
sureshknkt7 4-Sep-12 4:53am
   
skfjdkjfdskjfsdl

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900