|
-
May 26th, 2005, 10:54 AM
#1
Thread Starter
Addicted Member
ASP.NET Session Variable...
Okay, as with most of the folks posting here, I'm new to ASP.NET and am having a little trouble assigning a database value to a session variable. I have a simple login page setup, but I cannot assign values from the fields in the table to Session variables...have tried googling and searching here, but have had no luck. I guess this question is too simple!!!
Thanks in advance,
Jim Piller
"The Force will be with you, always."
--Ben Kenobi--
-
May 26th, 2005, 11:10 AM
#2
Frenzied Member
Re: ASP.NET Session Variable...
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
Jun 3rd, 2005, 10:22 AM
#3
Thread Starter
Addicted Member
Re: ASP.NET Session Variable...
This is how I'm assigning the value to the session variable, but clearly it's not correct...how do I correct this?
Session("FirstName") = DS.Tables(0).Rows(0).Item(0)
"The Force will be with you, always."
--Ben Kenobi--
-
Jun 4th, 2005, 03:20 AM
#4
Re: ASP.NET Session Variable...
Set a breakpoin on that line. When the debugger stops there, do a quick watch on the ds.tables... part and see if it holds a value. After the line executes, check what session("Firstname") holds.
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
|