View Single Post
  #2 (permalink)  
Old July 18th, 2007, 08:49 AM
bijgupt bijgupt is offline
Friend of Wrox
 
Join Date: May 2006
Location: Delhi, Delhi, India.
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Your user class already contains the value of password, so why u don't match the value entered by the user with this one.

Actully u need to pass the user_name and password to db and check whether any record exists or not.
qery - Select cout(*) from UserTanle where user_name = @uname and user_pass = @upass

Bijgupt
Reply With Quote