Information générale
Titre:
Better way of storing DataSet in a page
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement