|
-
Mar 4th, 2003, 09:53 PM
#1
Thread Starter
New Member
Dataset in a Server Control
I have written a custom server control, in which I use a dataset.
The dataset is passed into the control as a property, which I need to maintain for the life of the control.
My problem is that the after a postback on the page containing my control, the copy I was holding of the dataset, is no longer (ie ds = nothing).
Is there a way for me to retain the dataset between reloads of the page?
The only options I can see are to use a session variable, or to use a hidden field on the page. Are there any better options?
-Drew
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
|