General information
Title:
Better way of storing DataSet in a page
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only