Click here to Skip to main content
15,888,218 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
i want make login for my window app in which username of my login text=group of administrator username and password =password of admin group
Posted
Updated 26-Jan-14 20:09pm
v3
Comments
Mitchell J. 27-Jan-14 1:59am    
Are you using Windows Forms?

1. If you are developing winform, read this: sample-c-windows-form-login-screen[^]
2. If you are developing asp.net, read this: Introduction to Membership[^]
 
Share this answer
 
Use 3 db tables.one is for user details in which one of the column field will be user group id . 2nd table will be for storing user credentials against group id. & third one will be for group name & group id.

During log in first identify the user(group),if identified user then get his group id & validate it from user details table. & then check that group id for valid password from credentials table.
 
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