Log in Validation
How to validate my username and password from my database?help plz...
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dipa AhujaPosted May 18, 2010, 3:29 AM
Felix CalvoPosted May 17, 2010, 9:04 PM
Dipa AhujaPosted May 17, 2010, 8:00 AM
Felix CalvoPosted May 17, 2010, 5:12 AM
CrishPosted May 16, 2010, 8:15 AM
you can pass the parameter username and password in databse and write query like
if exists(select * from adminuser where username=@username and Password=@Password) , here @username and @password are your passing
parameter value.
If this value exist then return 1 for True and not exist then return 0 for False.
Don't forget to Mark Do you like this Answer that solved your problem!
Jaish MathewsPosted May 16, 2010, 7:49 AM
Built-in service available in asp.net. Check below link.
http://msdn.microsoft.com/en-us/library/ff649314.aspx
Dipa AhujaPosted May 16, 2010, 7:43 AM