|
-
Dec 17th, 2002, 04:58 AM
#1
Thread Starter
Fanatic Member
Refering to fields in dataset
Below is a small chunk of code I use to validate a login form (usernam and password).
if userDS.Tables(0).rows.count > 0 then
'username and password exist
response.Clear()
response.redirect ("admin_main.aspx")
else
msg.text = "Invalid entry: Please try again"
end if
Once a user is verified, before the response.redirect I would like to create sessions for a variety of fields held in the dataset e.g fldUsername, fldPassword, fldTelephone.
Creating the sessions is not the problem but refering to the fields in the dataset is. I am to accustomed to classic ASP and am just learning the scary .net monster.
Can anyone help please?
Thankyou
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|