Viewstate

  • Thread starter Thread starter vze1r2ht
  • Start date Start date
V

vze1r2ht

If I'm building a schedule like log that contains lots of input
fields...is it better to enable the viewstate?


It's about 50 fields. Will enabling viewstate allow me to not hit the
DB again on POSTBACK?
 
yup, but your page will be heavy because of all these controls that need to
maintain state. Test between the two approaches to see what works out better
for you.

--

________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
 
Back
Top