Click here to Skip to main content
11,920,772 members (59,011 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET
how to use login control with database with c# in project.
Posted 27-Jun-12 22:27pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

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.
touseef4pk 28-Jun-12 4:05am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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 [^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 5

Have a look at below Link. This is very simple and complete told.[^]
sureshknkt7 4-Sep-12 4:53am

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

  Print Answers RSS
0 OriginalGriff 548
1 Dave Kreskowiak 245
2 phil.o 170
3 KrunalRohit 134
4 F-ES Sitecore 130
0 OriginalGriff 6,778
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,203
3 George Jonsson 2,815
4 Suvendu Shekhar Giri 2,181

Advertise | Privacy | Mobile
Web04 | 2.8.151120.1 | Last Updated 28 Jun 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100