title: Determine the repeater row count in asp.net
body: <p>How i can determine the amount of rows which display in this repeater at once?</p>
  
  <pre><code>&lt;asp:Repeater ID="Repeater1" runat="server" DataSourceID="News" EnableViewState="true"&gt;
    &lt;ItemTemplate&gt;
      &lt;hr /&gt;
      &lt;div style="color:#036e90; font-weight: bold; font-family:Tahoma; text-align:center ; padding-left:10px"&gt;&lt;a href="DisplayNews.aspx"&gt;&lt;%#DataBinder.Eval(Container.DataItem, "News_Name")%&gt;&lt;/a&gt;&lt;/div&gt;
                  &lt;div style=" FONT-SIZE: 10pt;  FONT-FAMILY: Tahoma ; text-align:center;padding-left:10px"&gt;&lt;%#DataBinder.Eval(Container.DataItem, "News_Description")%&gt;&lt;/div&gt;
      &lt;br /&gt;
               &lt;hr  /&gt;
    &lt;/ItemTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>