Shawn Wildermuth [mailto:[EMAIL PROTECTED]] wrote:

> As long as you are not waiting for the post-back to do the
> work.  Every post-back to the form is a new instance (ASP.NET
> please correct me if I am wrong!).  This is what I have
> observed in my testing.

This is correct. Member variables are only good for the scope of the
request.

> You could store it in session state
> or keep it a static, but as a static, you will be using the
> same DataSet for every user.

If you need to store data beyond the scope of the request you should look
into the ASP.NET caching architecture.

HTH,
Drew
.NET MVP

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to