Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
ASP.VB.net, login page
Name: jester4281 Date: March 3, 2005 at 11:40:08 Pacific OS: Windows XP CPU/Ram: p4
Comment:
I have a web page with two textfields username and password and a button submit. My dataset is named DATASET007, in this I have a table labeled userinfo and there are two fields that corrispond to the names username and password.
How can I write the ASP.VB.Net to lookup the username and password and if correct go to my page main.asp
How is the dataset being filled? Usually you would query for records with the entered username and password and just check to see how many records are coming back.
If that's not possible, it's probably something like:
foreach(DataRow row in DATASET007.Tables["userinfo"].Rows) { if (row["username"] == Request["username"] and row["password"] == Request["password"]) Response.Redirect("main.asp"); }
You could probably do it with a dataset filter of some kind as well, but I'm too lasy to look it up.
Summary: I want to use crystal report in VB.NET.But the problem is I am not able to change the query associated with crystalreport control, at run time. Can you help me please. ...
Summary: Hi all, I am trying to run the MSDN crystal sample application on VS.NET. I got the following error. I tried to find out what is going on. Could anyone shed lights on this as to where to look. Thanks ...
Summary: I don't know why PHP would be the best bet when you already know VB...There are plenty of examples in ASP out there and VBScript is just a hop skip and a jump from VB. If you are going to be doing a l...