I'm sure the answer to my question varies depending on the situation, but I
am looking for a general "best practice".
If I have an asp.net application and I load certain data from a database,
should I use ViewState to store and reload the data, or should I load the
data from the database on each postback?
Assume for the sake of this question that I only care about performance, I
don't care about ease of programming.
am looking for a general "best practice".
If I have an asp.net application and I load certain data from a database,
should I use ViewState to store and reload the data, or should I load the
data from the database on each postback?
Assume for the sake of this question that I only care about performance, I
don't care about ease of programming.
Comment