title: ComboBox On DataRepeater Control Shares Selected Index
body: <p>I have a data repeater with each row using a combobox.  When you click the Add button it adds a new row to the DataRepeater.</p>
  
  <pre><code>   public enum ColorTypes {Red, Green, Yellow}
     class LineItem
     {
         public ColorTypes Color {get;set;} 
     }
  </code></pre>
  
  <p>When you click a button on the form it then creates a new LineItem, and rebinds.</p>
  
  <pre><code>  private void btnAdd_Click(object sender, EventArgs e)
    {
         LineItem CopyItem = new LineItem();
         CurrentList= ((List&lt;LineItem&gt;)dataRepeater.DataSource); 
  
         CurrentList.Add(CopyItem);
         dataRepeater.DataSource = CurrentList;
    }
  </code></pre>
  
  <p>This correctly adds a new row to the DataRepeater, but now changing combobox's index modifies both rows.  Is there some special binding you need to perform?</p>
  
  <p>Heres my binding code:</p>
  
  <pre><code> this.cbPackage.DataSource = System.Enum.GetValues(typeof(ColorTypes));
   this.cbPackage.DisplayMember = "Color";
  </code></pre>