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