title: Asp.Net Dropdownlist Set Item View limit
body: <p>I have a country DropDownList in Asp.Net Page.I Bind DropDownList from Database. it gives me 239 item. and it is very large scroll in page.</p>
  
  <p>so, my Question how to set 10 item in Dropdown and then scroll in List.</p>
  
  <pre><code>&lt;asp:DropDownList ID="ddlcountry" AutoPostBack="true" AppendDataBoundItems="true"
       runat="server" OnSelectedIndexChanged="ddlcountry_SelectedIndexChanged"&gt;
  &lt;/asp:DropDownList&gt;
  </code></pre>