<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TestGroupingView.Default" Title="GroupingView Examples" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="server">
    GroupingView Control Examples
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <div class="homeText">
    The SQL database <em>Cities.mdf</em> is used as the data source in each of the samples.
    The <em>Cities</em> table layout and data are shown at the right.  Note that it
    is a flat structure - the <code>GroupingView</code> control categorizes data source records
    into group subsets based on its <code>GroupingDataField</code> property.  For
    most of the examples, the <code>GroupingDataField</code> property is set to
    <code>"Region"</code>.
    <br /><br />
    These examples are provided as a suppliment to the article "GroupingView" published
    on www.codeproject.com.  The article and these accompanying examples 
    are subject to the 
    <br />
    <a href="http://www.codeproject.com/info/cpol10.aspx">CodeProject Open License</a> (CPOL).
    <div style="height: 300px;">&nbsp;</div>
  </div>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="Description" runat="server">
    <asp:GridView ID="gv1" runat="server"
                  DataSourceID="sql1"
                  />
    <asp:SqlDataSource ID="sql1" runat="server"
                       SelectCommand="Select * from Cities"
                       ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
                       />
</asp:Content>
