C# Restoring Values to Controls Iterativley
<p>I have a situation here where the user has about 100 controls mostly multi select listboxes
but some other stuff peppered in  (drop downs checkboxes) and they narrow down complex search criteria for screenings.  When they go back later they want the act of pulling up a record to reset the controls to the values that they had used to match the criteria.  </p>

<p>So I made a table that has a column for each control and iterativley stores the values - comma 
deliminated for listboxes - when the user locks in the search criteria to move to the next step.</p>

<p>Other then using a switch to say if value is x: set control x to value(s) so and so is there a good way to iterate through this, seeing as the name of the column is the name of the control ?  I'm stumped at the moment ...  </p>

<p><img src="http://i.stack.imgur.com/MRt2i.png" alt="enter image description here"></p>

<pre><code>    var CParam = QueryFnc.RstrCntrls(Jnum, Qnum);
    foreach(var a in CParam)
    {
        //Map Values to Matching Named Control


    }
</code></pre>
