Click here to Skip to main content
12,398,225 members (58,057 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
i have created a table which has username and password and i created some users n passwords in the table. now i designed the application having username,password and login button if the user enters the correcr credentials then login to the home page that chechking with database is this user exists are not. how to write the code in asp.net. please help me.
Posted 11-Jan-13 1:05am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Here, I replied the same question few hours back: need help in code for checking username and password[^]
  Permalink  
Comments
Angel riti 11-Jan-13 23:44pm
   
thank u
Sandeep Mewara 11-Jan-13 23:48pm
   
Welcome.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

There is a lot of code to do this. I would recommend researching ASP.Net Forms Authentication and then the SQLConnection, SQLCommand, and SQLDataReader objects, to start with.

When you get stuck on something specific we'll gladly help.
  Permalink  
Comments
Angel riti 11-Jan-13 23:43pm
   
thanku

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 11 Jan 2013
Copyright © CodeProject, 1999-2016
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