C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

Login Control


Posted Date: 03 Nov 2009      Posted By: gaurav      Member Level: Bronze     Points: 1   Responses: 5



If i use login control,then where i store username and password?? CAn u give me the code how to use LOGIN CONTROL.




Responses

Author: Anuraj    03 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

For using Login Control, you can only use ASPNet DB. You can configure it using WebSite > ASP.Net Configuration.

Thanks
Anuraj
THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS.
BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT.
dotnetthoghts



Author: greeny_1984    03 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Hi,

You have to create a table containing username and password as columns.when ever a user enters his username and password you have to check the data entered with the database table rows with a query like


select * from table1 where userid='"+txtuserid.text+"' and password='"+txtpass.text+"'


Regards,
Greeny_1984

Rate this Response[Excellent/Good/Poor]
FRESHERS check this link
Need help from me join here



Author: Deepika Haridas    03 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Hello,

You can store it in Database. Whenever a new user registers you need to insert the value in table.



Thanks & Regards,
Deepika
Editor

If U want to shine like a SUN..First U have to burn like the SUN!!
Need a Guide? Join my mentor program..



Author: gaurav    03 Nov 2009Member Level: BronzeRating: 2 out of 52 out of 5     Points: 2

hey frnds,can you tell me whats the use of using Login Control. When we use Login Control.


Author: Hitesh Prajapati    04 Nov 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

get the username & password than check it in your database ,and it give s proper result than login successful otherwise login failed.


Post Reply
You must Sign In to post a response.
Next : Mail sending in telnet
Previous : Cross page Posting
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use