title: Bind Same Data To Multiple Drop Down Lists
body: <p>I have 10 drop down lists on my page 5 are for employee names and they are labeled ddlemp1, ddlemp2, ddlemp3, ddlemp4, ddlemp and I have 5 drop down lists for level and they are labeled ddllvl1, ddllvl2, ddllvl3, ddllvl4, ddllvl5 </p>
  
  <p>Is it possible to bind the same items to all my drop down lists that are like ddlemp and bind a second set of choices to all drop down lists that are named like ddllvl?</p>
  
  <p>And I am populating the drop down lists like so:</p>
  
  <pre><code>this.ddlemp1.Items.Insert(1, new ListItem("Fran", "14"));
  this.ddlemp1.Items.Insert(2, new ListItem("George", "3")):
  </code></pre>
  
  <p><strong>EDIT</strong><br>
  Would a repeater work in my instance as I have one drop down list of each on a row in my table, and from my understanding of a repeater Each element I need to be "repeated" should fall under the same repetaer.  So unless I could nest a ddllvl repeater inside my ddlemp repeater somehow?</p>
  
  <pre><code>&lt;asp:Repeater ID="RepeateDropDownListSelections" runat="server"&gt;
  &lt;tr id="row6" runat="server"&gt;
    &lt;td&gt;&lt;asp:DropDownList ID="ddlemp6" runat="server" Height="16px" Width="278px"&gt;&lt;/asp:DropDownList&gt;&lt;/td&gt;
    &lt;td class="style2"&gt;&lt;asp:DropDownList ID="ddllvl6" runat="server" Height="16px" Width="45px"&gt;&lt;/asp:DropDownList&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>