Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Hello

Iam Begginer to ASP.NET , i want code for a login Control  using C# programming Language.

The Login control displays a user interface for user authentication. The Login control contains text boxes for the user name and password and a check box that allows users to indicate whether they want the server to store their identity using ASP.NET membership and automatically be authenticated the next time they visit the site.

thank u  

Posted

If you're a beginner, I assume you're teaching yourself, or you'd be in a class that gave you direction and provided you with meaningful exercises.  As you're learning, there is no benefit in using built in controls, you should write your own login control as an exercise.  It goes without saying that, as a beginner, you should not be writing a login control that anyone will use, you should know what you're doing before attempting to write something that people are going to deliberately try to break.  But then, as a beginner, you shouldn't be writing anything that you're paid for anyhow, it's just that security piles on an extra layer of 'no way'.

 
Share this answer
 
If you aren't trying to create the control as a learning exercise, ASP.NET 2.0+ includes a login control that you can uses.
 
Share this answer
 

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