title: Repeater Loses it's data on PostBacks
body: <p>Repeater Markup:</p>
  
  <pre><code>&lt;asp:Repeater ID="stat_Rptr" runat="server"&gt;
                  &lt;ItemTemplate&gt;
                      &lt;asp:CheckBox ID="IsSelected_ChkBx" runat="server" Text='&lt;%# Eval("Item") %&gt;' /&gt;
                      &amp;nbsp;&lt;asp:TextBox ID="Value_TxtBx" runat="server"&gt;&lt;/asp:TextBox&gt;
                      &lt;asp:HiddenField ID="ID_HdnFld" runat="server" Value='&lt;%# Eval("ID") %&gt;' /&gt;
                  &lt;/ItemTemplate&gt;
                  &lt;SeparatorTemplate&gt;
                      &lt;br&gt;&lt;/br&gt;
                  &lt;/SeparatorTemplate&gt;
              &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>Code-Behind:</p>
  
  <pre><code>    protected void Page_Load(object sender, EventArgs e)
      {
          if (!IsPostBack)
          {
              PopulateStatRptr();
          }
       }
  
  
      private void PopulateStatRptr()
      {
          SqlConnection conn;
          SqlCommand comm;
          SqlDataReader reader;
  
          string _connString = "Data Source=localhost\\SqlExpress;Initial Catalog=MyDb;Integrated Security=True";
  
          conn = new SqlConnection(ConString);
          comm = new SqlCommand("SELECT ID, Item FROM Stats", conn);
  
          try
          {
              conn.Open();
              reader = comm.ExecuteReader();
              stat_Rptr.DataSource = reader;
              stat_Rptr.DataBind();
              reader.Close();
          }
  
          finally
          {
              conn.Close();
          }
      }
  </code></pre>