<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<%@ Register Assembly="Mitul.Web" Namespace="Mitul.Web" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Custom Grid shows the headers:<br />
        <cc1:GridView ID="GridView1" runat="server" CellPadding="4" DataSourceID="AccessDataSource1" ForeColor="#333333" GridLines="None" ShowFooterWhenEmpty="True" ShowHeaderWhenEmpty="True">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#EFF3FB" />
            <EditRowStyle BackColor="#2461BF" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
        </cc1:GridView>
        <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Employee.mdb"
            SelectCommand="SELECT * FROM [Employees] WHERE ([EmployeeID] = 0) ORDER BY [EmployeeID]">
            <SelectParameters>
                <asp:Parameter DefaultValue="0" Name="EmployeeID" Type="Int32" />
            </SelectParameters>
        </asp:AccessDataSource>
        <br />
        The .NET GrivView does not display anything here:&nbsp;<asp:GridView ID="GridView2"
            runat="server" CellPadding="4" DataSourceID="AccessDataSource1" ForeColor="#333333"
            GridLines="None">
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#E3EAEB" />
            <EditRowStyle BackColor="#7C6F57" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
        <br />
        <br />
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>&nbsp;
        <cc1:RegExValidator ID="RegExValidator1" runat="server" ControlToValidate="TextBox1"
            ErrorMessage="NOT Valid"
            ValidationModifiers="IgnoreCase" BackColor="#FF8080" BorderColor="Silver" BorderStyle="Dotted" BorderWidth="2px" Font-Bold="True" Font-Italic="True" Font-Names="Arial" Font-Overline="True" Font-Size="12pt" Font-Strikeout="True" Font-Underline="True">Press again!</cc1:RegExValidator>&nbsp;<br />
        &nbsp;
        <asp:Label ID="Label1" runat="server" Text="Enter Email Address"></asp:Label>
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" Text="Button" />
    </div>
    </form>
</body>
</html>
