
<%@ page autoeventwireup="false" inherits="WebExam.Web.webenterlist, App_Web_f5kmzcxb" language="vb" masterpagefile="~/Page.master" title="报名考试" %>

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

    <table id="Table1" align="center" border="0" cellpadding="0" cellspacing="0"
        style="width: 770px">
 
        <tr>
            <td>
                您可以报考下列考试：</td>
        </tr>
        <tr>
            <td align="center">
                <asp:DataGrid ID="DataGrid1" runat="server" AllowCustomPaging="True" AllowPaging="True"
                    AutoGenerateColumns="False" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None"
                    BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical" PageSize="15">
                    <SelectedItemStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    <AlternatingItemStyle BackColor="White" />
                    <ItemStyle BackColor="#F7F7DE" />
                    <HeaderStyle BackColor="#CCCC99" Font-Bold="True" ForeColor="White" />
                    <FooterStyle BackColor="#CCCC99" />
                    <Columns>
                        <asp:TemplateColumn HeaderText="考试名称">
                            <ItemTemplate>
                                <asp:Label ID="Label2" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.id") %>'>
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="主考">
                            <ItemTemplate>
                                <asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.examiner") %>'>
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="开考时间">
                            <ItemTemplate>
                                <asp:Label ID="Label3" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.startTime") %>'>
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="结束时间">
                            <ItemTemplate>
                                <asp:Label ID="Label4" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.endTime") %>'>
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="考试时长">
                            <ItemTemplate>
                                <asp:Label ID="Label5" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.timeLen") %>'>
                                </asp:Label>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                       
                        <asp:ButtonColumn CommandName="Select" Text="我要报名"></asp:ButtonColumn>
                    </Columns>
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" Mode="NumericPages"
                        Visible="False" />
                </asp:DataGrid>
            </td>
        </tr>
 
        <tr>
            <td align="center">
                <asp:Label ID="msg" runat="server" ForeColor="Red"></asp:Label></td>
        </tr>
    </table>
</asp:Content>
			
		
