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

<%@ Register Assembly="C1.Web.Wijmo.Controls.48" Namespace="C1.Web.Wijmo.Controls.C1GridView" TagPrefix="wijmo" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">

    <wijmo:C1GridView 
        ID="C1GridView1" 
        runat="server" 
        AutoGenerateColumns="False" 
        OnRowDataBound="C1GridView1_RowDataBound">

    <Columns>
        <wijmo:C1BoundField 
            DataField="MonthNumber" 
            HeaderText="Month">
            <ItemStyle CssClass="GridText" />
        </wijmo:C1BoundField>

        <wijmo:C1BoundField 
            DataField="I_string" 
            HeaderText="I_string">
            <ItemStyle CssClass="GridNumber" Width="80px" />
        </wijmo:C1BoundField>

        <wijmo:C1BoundField 
            DataField="I_integer" 
            HeaderText="I_integer" 
            DataFormatString="n0">
            <ItemStyle CssClass="GridNumber" Width="80px" />
        </wijmo:C1BoundField>
    </Columns>

</wijmo:C1GridView>

</asp:Content>
