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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top