Does anyone know a technique that I could use to iterate my way through an asp.net form.

What I'm trying to do is go through all of the elements on the form and get their id's so I can pass them on as a paramter to something else.

Many thanks