User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 426,688 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,577 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting

Simple ASP.Net Login Page (Using VB.Net)

Join Date: Feb 2003
Location: Canada
Posts: 786
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Rep Power: 9
Solved Threads: 25
Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: Simple ASP.Net Login Page (Using VB.Net)

  #44  
Mar 6th, 2005
How do you know it is that line of code that is the source of the error? What is the error message.

See new link for the updated code!

New more details to solve your problem please!


Originally Posted by gbgykkcci88888
I just try to create my own member.db and run the sp_ValidateUser which can return 1 but the asp.net just always pass to the

Catch ex As Exception
lblMessage.Text = "Error Connecting to Database!"

when it reach the below statement
objReader = MyCmd.ExecuteReader(CommandBehavior.CloseConnection)

Please help....
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
 
All times are GMT -4. The time now is 2:44 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC