hi all ,
I'm trying to iterate through all the controls in a page and store their values in a dictionary object. in classic asp i would probably do something like
but this doesn't work in .net. Can someone guide me in the right direction? Thank you!
I'm trying to iterate through all the controls in a page and store their values in a dictionary object. in classic asp i would probably do something like
VB.NET:
For Each obj In Request.Form
dictionary.Add Request.Form.Key(obj), Request.Form.Item(obj)
Next
but this doesn't work in .net. Can someone guide me in the right direction? Thank you!