title: Require Two Header Row in Grid View
body: <p>I have a grid view of Cart Items, which was bonded at run-time, Now my requirement for that is i want two header row in Grid as given below in image , How will it be possible ? can anyone help me?</p>
  
  <p><a href="http://content.screencast.com/users/Pr6546/folders/Default/media/f7da2da4-f80e-4674-b1d4-0ccd872966d2/Capture.PNG" rel="nofollow noreferrer">My Design For Grid http://content.screencast.com/users/Pr6546/folders/Default/media/f7da2da4-f80e-4674-b1d4-0ccd872966d2/Capture.PNG</a>
  <a href="http://www.screencast.com/t/g4HkqlSpx" rel="nofollow noreferrer">http://www.screencast.com/t/g4HkqlSpx</a></p>
  
  <p>Below is my grid Source</p>
  
  <pre><code>&lt;asp:GridView ID="gvCheckOutItems" GridLines="None" ShowFooter="true" DataKeyNames="Item_No"
      Width="100%" border="0" CellSpacing="0" CellPadding="5" AutoGenerateColumns="false"
      CssClass="Checkout-Grid" runat="server" OnRowCreated="gvCheckOutItems_RowCreated"&gt;
      &lt;Columns&gt;
          &lt;asp:TemplateField HeaderStyle-Width="7%"&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:LinkButton ID="lnkBtnRemove" runat="server" OnClick="lnkBtnRemove_Click" Text="Remove"
                      CssClass="blue-link"&gt;&lt;/asp:LinkButton&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:TemplateField&gt;
          &lt;asp:BoundField HeaderText="Item No" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
              DataField="Item_No" HeaderStyle-Width="7%" /&gt;
          &lt;asp:BoundField HeaderText="Title" HeaderStyle-HorizontalAlign="Left" FooterStyle-HorizontalAlign="Center"
              ItemStyle-HorizontalAlign="Left" DataField="Title" HeaderStyle-Width="25%" /&gt;
          &lt;asp:BoundField HeaderText="Offered By" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
              DataField="Trainer" HeaderStyle-Width="16%" FooterText="&lt;strong&gt;Order Total&lt;/strong&gt;" /&gt;
          &lt;asp:TemplateField&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:TextBox ID="txtItemFormat" runat="server" Text='&lt;%# Eval("Item_Format") %&gt;'
                      Visible="false"&gt;&lt;/asp:TextBox&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:TemplateField&gt;
          &lt;asp:BoundField HeaderText="Format" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
              DataField="Format" HeaderStyle-Width="15%" /&gt;
          &lt;asp:BoundField HeaderText="Duration" ItemStyle-HorizontalAlign="Right" DataField="Duration"
              HeaderStyle-Width="7%" /&gt;
          &lt;asp:TemplateField HeaderStyle-Width="7%" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right"
              FooterStyle-HorizontalAlign="Right" HeaderText="Quantity"&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:TextBox ID="txtQuantity" Enabled="false" CssClass="quantity" Text='&lt;%#Eval("Quantity")%&gt;'
                      onblur="fnquantityEmpty(this)" onkeyup="extractNumber(this,0,false);" onkeypress="return blockNonNumbers(this, event, false, false);"
                      runat="server" MaxLength="4" AutoPostBack="true" OnTextChanged="Qty_Changed"&gt;&lt;/asp:TextBox&gt;
              &lt;/ItemTemplate&gt;
              &lt;FooterTemplate&gt;
                  &lt;strong&gt;
                      &lt;asp:Label ID="lblFooterQuantity" runat="server"&gt;&lt;/asp:Label&gt;&lt;/strong&gt;
              &lt;/FooterTemplate&gt;
          &lt;/asp:TemplateField&gt;
          &lt;asp:TemplateField HeaderText="Price" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Center"
              HeaderStyle-Width="7%"&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:Label ID="lblPrice" runat="server" Text='&lt;%#getConvertedPrice(Eval("Price")) %&gt;'&gt;&lt;/asp:Label&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:TemplateField&gt;
          &lt;asp:TemplateField&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:TextBox ID="txtItemOwnerID" runat="server" Text='&lt;%# Eval("ItemOwnerID") %&gt;'
                      Visible="false"&gt;&lt;/asp:TextBox&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:TemplateField&gt;
          &lt;asp:TemplateField HeaderText="Subtotal" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right"
              FooterStyle-HorizontalAlign="Right" HeaderStyle-Width="8%"&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:Label ID="lblSubTotal" runat="server" Text='&lt;%#getConvertedPrice(Eval("Subtotal")) %&gt;'&gt;&lt;/asp:Label&gt;
              &lt;/ItemTemplate&gt;
              &lt;FooterTemplate&gt;
                  &lt;strong&gt;
                      &lt;asp:Label ID="lblFooterTotalPrice" runat="server" Text="" ToolTip="Total"&gt;&lt;/asp:Label&gt;&lt;/strong&gt;
              &lt;/FooterTemplate&gt;
          &lt;/asp:TemplateField&gt;
      &lt;/Columns&gt;
  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>Regards</p>