<%@ Page Title="出欠状況" Language="VB" MasterPageFile="~/portal.master" AutoEventWireup="false" CodeFile="AttendStudent.aspx.vb" Inherits="AttendStudent" %>
<%@ Register Src="~/uc/uc_InfoStudent.ascx" TagPrefix="uc1" TagName="uc_InfoStudent" %><%-- 学生情報 --%>

<%-- [Webフォーム]head Start --%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<%-- [Webフォーム]head End --%>

<%-- [Webフォーム]body Start --%>
<asp:Content ID="Content2" ContentPlaceHolderID="msp_asp_cph1" Runat="Server">
<%-- SqlDataSource Start --%>
<asp:SqlDataSource ID="sql_出席状況" runat="server" /> 
<asp:SqlDataSource ID="sql_dd_授業年度" runat="server" />
<%-- SqlDataSource End --%>
<%-- 学生情報 Start --%>
<uc1:uc_InfoStudent id="uc_InfoStudent" runat="server" />
<%-- 学生情報 End --%>
<div class="vertical_space"></div>
<%-- 検索条件 Start --%>
<div id="div_attend_search">
    <asp:DropDownList
        ID="dd_検索_授業年度" class="input" Width="55" DataSourceID="sql_dd_授業年度"
        DataTextField="授業年度" DataValueField="授業年度" AutoPostBack="True" runat="server">
    </asp:DropDownList>
    <asp:Label ID="Label3" Text="年度" Font-Size="8" runat="server" />
</div>
<%-- 検索条件 End --%>
<div class="vertical_space"></div>
<%-- 出欠一覧 Start --%>
<asp:GridView
    ID="gv_出席状況" DataSourceID="sql_出席状況" EnableModelValidation="True"
    AutoGenerateColumns="False" Font-Size="8" Width="980"
    BorderStyle="None" EnableViewState="False" runat="server"
>
    <Columns>
        <%-- 履修年度 --%>
        <asp:TemplateField HeaderText="履修年度">
            <HeaderStyle Font-Bold="False" Width="50" />
            <ItemTemplate>
                <asp:Label ID="lb_履修年度" Text='<%# Eval("履修年度")%>' runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 科目/講座CD --%>
        <asp:TemplateField HeaderText="科目/講座CD">
            <HeaderStyle Font-Bold="False" Width="70" />
            <ItemTemplate>
                <asp:Label ID="lb_科目CD" Text='<%# Eval("科目CD")%>' runat="server"
                />/<asp:Label ID="lb_講座CD" Text='<%# Eval("講座CD")%>' runat="server" />
            </ItemTemplate>
            <ItemStyle BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 講座名 --%>
        <asp:TemplateField HeaderText="講座名">
            <HeaderStyle Font-Bold="False" Width="160" />
            <ItemTemplate>
                <asp:Label ID="lb_授業名" Text='<%# Eval("授業名")%>' runat="server" />
            </ItemTemplate>
            <ItemStyle BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 期間 --%>
        <asp:TemplateField HeaderText="期間">
            <HeaderStyle Font-Bold="False" Width="35" />
            <ItemTemplate>
                <asp:Label ID="lb_期間" Text='<%# Eval("期間")%>' runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 回数 --%>
        <asp:TemplateField HeaderText="回数">
            <HeaderStyle Font-Bold="False" Width="46" />
            <ItemTemplate>
                <asp:Label ID="Label2" Text='<%# Bind("表示範囲") %>' runat="server" />
            </ItemTemplate>
            <ItemStyle BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠1列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出1" Text='<%# Eval("出1")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日1" Text='<%# Eval("日1")%>' runat="server" />
                <asp:Label ID="lb_色1" Text='<%# Eval("色1")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠2列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出2" Text='<%# Eval("出2")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日2" Text='<%# Eval("日2")%>' runat="server" />
                <asp:Label ID="lb_色2" Text='<%# Eval("色2")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠3列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出3" Text='<%# Eval("出3")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日3" Text='<%# Eval("日3")%>' runat="server" />
                <asp:Label ID="lb_色3" Text='<%# Eval("色3")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠4列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出4" Text='<%# Eval("出4")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日4" Text='<%# Eval("日4")%>' runat="server" />
                <asp:Label ID="lb_色4" Text='<%# Eval("色4")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠5列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出5" Text='<%# Eval("出5")%>' runat="server" />
                    <br />
                <asp:Label ID="lb_日5" Text='<%# Eval("日5")%>' runat="server" />
                <asp:Label ID="lb_色5" Text='<%# Eval("色5")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠6列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出6" Text='<%# Eval("出6")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日6" Text='<%# Eval("日6")%>' runat="server" />
                <asp:Label ID="lb_色6" Text='<%# Eval("色6")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠7列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出7" Text='<%# Eval("出7")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日7" Text='<%# Eval("日7")%>' runat="server" />
                <asp:Label ID="lb_色7" Text='<%# Eval("色7")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠8列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出8" Text='<%# Eval("出8")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日8" Text='<%# Eval("日8")%>' runat="server" />
                <asp:Label ID="lb_色8" Text='<%# Eval("色8")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠9列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出9" Text='<%# Eval("出9")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日9" Text='<%# Eval("日9")%>' runat="server" />
                <asp:Label ID="lb_色9" Text='<%# Eval("色9")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠10列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出10" Text='<%# Eval("出10")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日10" Text='<%# Eval("日10")%>' runat="server" />
                <asp:Label ID="lb_色10" Text='<%# Eval("色10")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠11列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出11" Text='<%# Eval("出11")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日11" Text='<%# Eval("日11")%>' runat="server" />
                <asp:Label ID="lb_色11" Text='<%# Eval("色11")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠12列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出12" Text='<%# Eval("出12")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日12" Text='<%# Eval("日12")%>' runat="server" />
                <asp:Label ID="lb_色12" Text='<%# Eval("色12")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠13列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出13" Text='<%# Eval("出13")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日13" Text='<%# Eval("日13")%>' runat="server" />
                <asp:Label ID="lb_色13" Text='<%# Eval("色13")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠14列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出14" Text='<%# Eval("出14")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日14" Text='<%# Eval("日14")%>' runat="server" />
                <asp:Label ID="lb_色14" Text='<%# Eval("色14")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
        <%-- 出欠15列目 --%>
        <asp:TemplateField>
            <HeaderStyle BackColor="White" BorderStyle="None" Width="38" />
            <ItemTemplate>
                <asp:Label ID="lb_出15" Text='<%# Eval("出15")%>' runat="server" />
                <br />
                <asp:Label ID="lb_日15" Text='<%# Eval("日15")%>' runat="server" />
                <asp:Label ID="lb_色15" Text='<%# Eval("色15")%>' Visible="False" runat="server" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1" />
        </asp:TemplateField>
    </Columns>
    <HeaderStyle BackColor="#6B696B" ForeColor="White" />
    <RowStyle BackColor="#FFFCEE" />
    <AlternatingRowStyle BackColor="White" />
</asp:GridView>
<%-- 出欠一覧 End --%>
</asp:Content>
<%-- [Webフォーム]body End --%>