C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




to check validuser or not


Posted Date: 05 Sep 2008      Total Responses: 2

Posted By: hemalatha       Member Level: Bronze     Points: 1


created a loginform with two fields loginid and password and has database with fields loginid,password and role.any one logged its role has to checked if the role is Admin it has to goto mainform which has menustrip. if the user is admin only the menustrip has to be enabled or if it is user it has to be disabled .



Responses

Author: vipul    05 Sep 2008Member Level: DiamondRating:     Points: 2
hi,
for that you take two text box from the user side and teak value of user name and password. on the button click event you write code for database connection in that you can pass this two filed to database and retrive the role of that useer and check that this user is admin or normal user


vipul,
http://dongavipul.blogspot.com


Author: hemalatha    05 Sep 2008Member Level: BronzeRating:     Points: 1
hi
it is checking for all logins in the database.but it has to check for only loginid by which it was logged.


Post Reply
You must Sign In to post a response.
Next : Any body knows Wise Installer Deployment Procedure ?
Previous : Multi-threading
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

it outsourcing

Contact Us    Privacy Policy    Terms Of Use