Need Stored Procedure "sp_ValidateUser" for Login Page

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2007
Posts: 4
Reputation: yasinirshad is an unknown quantity at this point 
Solved Threads: 0
yasinirshad yasinirshad is offline Offline
Newbie Poster

Need Stored Procedure "sp_ValidateUser" for Login Page

 
0
  #1
Jul 2nd, 2007
Hi,

Can anyone send me the Stored Procedure for "sp_validateUser" for login page using asp.net 1.1

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 812
Reputation: arjunsasidharan is on a distinguished road 
Solved Threads: 13
arjunsasidharan's Avatar
arjunsasidharan arjunsasidharan is offline Offline
Practically a Posting Shark

Re: Need Stored Procedure "sp_ValidateUser" for Login Page

 
0
  #2
Jul 3rd, 2007
Originally Posted by yasinirshad View Post
Hi,

Can anyone send me the Stored Procedure for "sp_validateUser" for login page using asp.net 1.1

Thanks.
  1. CREATE PROCEDURE User_Login (@UserId AS VARCHAR(50),@Password AS VARCHAR(50)) --@Userid and @Password parameters from your client webpage
  2. AS
  3. BEGIN
  4. SELECT
  5. Userid,
  6. Password
  7. FROM
  8. ApplicationUsers --Table name
  9. where Userid = @Userid and
  10. password = @password
  11.  
  12. GO
Don't know whether this will work. Make some modifications according to your need.
There is just two ways to live your life.
One is as though nothing is a miracle.
The other is as if everything is.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC