|
-
Jan 19th, 2004, 07:12 AM
#1
Thread Starter
Fanatic Member
global dataset?
alright,
I've rewritten this question as the problem has now kinda changed.
I've got a dataset that got my data in (obviously), and my ASP.NET page displays one record at a time. I have buttons saying next and previous to move through the dataset and display the other records. The problem I have is when i click on a prev/next button the dataset get's re-dimed and so doesn't have any of the records in.
How do i define it globally so it doesn't get re-dimmed?
Cheers
Nick
Last edited by nswan; Jan 19th, 2004 at 09:48 AM.
-
Jan 19th, 2004, 10:07 AM
#2
PowerPoster
Either store it in the Cache, Application object, or the Session object.
Look them up on the www.msdn.microsoft.com/library site.
-
Jan 19th, 2004, 11:20 AM
#3
Thread Starter
Fanatic Member
cheers,
i didn't realise you could store complex things like datasets in session objects.
Nick
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
|