ViewState question

  • Thread starter Thread starter M O J O
  • Start date Start date
M

M O J O

Sorry for crossposting this question, but after I submitted it to VB
group, I remembered that this is infact an ASP.NET question - sorry again!

Well here's the question:

When my application throws an exception, I send my self an email with
all possible information.

I want to be able to know what the user entered in my form fields.

How do I cycle through the viewstate and get all the keys & values?

I believe I can write all these into a session var in the page load.
That way it should be possible the see all form field data in case of an
exception.

Any better ideas?

Thanks!

M O J O
 
Hi,

way do you cycle through the viewstate when you can get the value from
Form collection ?

Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
 
Back
Top