title: Stop GridView header scrolling
body: <p>Here is my ASPX code :</p>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="xyz.aspx.cs" Inherits="xyz" %&gt;
  
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"&gt;
  &lt;div style=" font-size:x-small; overflow:auto; width:660px; height:180px; "&gt;
  &lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
          ForeColor="#333333" GridLines="None" ShowHeader="true" DataSourceID="SqlDataSource1" onrowcommand="GridView1_RowCommand"&gt;
          &lt;AlternatingRowStyle BackColor="White" ForeColor="#284775" /&gt;
          &lt;Columns&gt;
              &lt;asp:TemplateField HeaderText="SR No"&gt;&lt;ItemTemplate&gt;&lt;%# Container.DataItemIndex + 1 %&gt;&lt;/ItemTemplate&gt;&lt;/asp:TemplateField&gt;
              &lt;asp:BoundField DataField="test_1" HeaderText="First No" SortExpression="test_1" /&gt;
              &lt;asp:BoundField DataField="test_2" HeaderText="Second No" SortExpression="test_2" /&gt;
          &lt;/Columns&gt;
          &lt;EditRowStyle BackColor="#999999" /&gt;
          &lt;FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt;
          &lt;HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt;
          &lt;PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /&gt;
          &lt;RowStyle BackColor="#F7F6F3" ForeColor="#333333" /&gt;
          &lt;SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /&gt;
          &lt;SortedAscendingCellStyle BackColor="#E9E7E2" /&gt;
          &lt;SortedAscendingHeaderStyle BackColor="#506C8C" /&gt;
          &lt;SortedDescendingCellStyle BackColor="#FFFDF8" /&gt;
          &lt;SortedDescendingHeaderStyle BackColor="#6F8DAE" /&gt;
      &lt;/asp:GridView&gt;
  &lt;/div&gt;
  &lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="&lt;%$ ConnectionStrings:paconn %&gt;"
  SelectCommand="SELECT * FROM [c_test] ORDER BY [test_1]"&gt;
  &lt;/asp:SqlDataSource&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>I want that my GridView header fixed on their position and the other data are scrolled on vertically.</p>