Click here to Skip to main content
Sign Up to vote bad
good
See more: C#3.0
Hi,
 
How to retrieve the Username and Password from Database.I have stored username and password in database from this it should retrieve the login page.
 
Regards
Balamurugan
Posted 10 Oct '12 - 19:36


2 solutions

select username, Password from Registration; 
 
check Username & password using below query
 
select count(*) from registration where username = "txtUserrname.text" and Password = "txtPassword.text";
  Permalink  
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 545
1 Maciej Los 270
2 Slacker007 240
3 OriginalGriff 235
4 Aarti Meswania 185
0 Sergey Alexandrovich Kryukov 8,953
1 OriginalGriff 7,134
2 CPallini 3,758
3 Rohan Leuva 3,066
4 Maciej Los 2,528


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 2 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid