title: Select the Controls in a Panel using LINQ
body: <p>I have added few controls to a table and added that table to a panel. Now, I want to access those controls(like text boxes, dropdowns etc..) in another method. 
  I am trying as </p>
  
  <pre><code>List&lt;Control&gt; panelControls = (from pControls in _controlsPanel.Controls.OfType&lt;Table&gt;(). OfType&lt;TableRow&gt;().OfType&lt;TableCell&gt;().OfType&lt;Control&gt;()
                                                .Where(ctrl =&gt; (ctrl is TextBox || ctrl is DropDownList))
                                             select pControls).ToList();
  </code></pre>
  
  <p>which is evudently giving me no controls I added to table and eventually to panel.</p>
  
  <p>Should I add each of the control in my table to Panel or is there a better way to retrieve the controls?</p>
  
  <p>Because, I thought, since all the controls are in a table , it seemed redundant to me to add controls again to panel explicitly. However I might be wrong. please clarify.</p>