Click here to Skip to main content
11,478,902 members (74,070 online)
Rate this: bad
good
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 2: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 at 11-Jan-13 23:44pm
   
thank u
Sandeep Mewara at 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 at 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
0 Sergey Alexandrovich Kryukov 200
1 F-ES Sitecore 195
2 Frankie-C 120
3 OriginalGriff 105
4 DamithSL 95
0 Sergey Alexandrovich Kryukov 7,880
1 OriginalGriff 7,341
2 Sascha Lefèvre 3,064
3 Maciej Los 2,491
4 Richard Deeming 2,335


Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 11 Jan 2013
Copyright © CodeProject, 1999-2015
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