Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Better way of storing DataSet in a page
Message
De
26/06/2007 05:36:27
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Better way of storing DataSet in a page
Versions des environnements
Environment:
ASP.NET
Divers
Thread ID:
01235554
Message ID:
01235554
Vues:
60
I am having a problem when storing the DataSet in a page using Session.
When the user opens the same page using new window, the value of the DataSet will be same.

I want the value to be different. So I tried to use ViewState. But some articles and
forums said using ViewState to store DataSet may cause some problems especially for
performance and .Net type support.

I have some doubts and hope someone can give me advice.

1. Will the server have performance problem if my DataSet only stores at most 50
records with 5-15 fields?

2. I see some examples convert the DataSet to xml before storing to ViewState.
What is the purpose to do that?

3. If storing DataSet in ViewState is not a good solution, is there any better way
to do it?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform