<%@ Control Language="VB" AutoEventWireup="false" CodeFile="uc_infoCardClass.ascx.vb" Inherits="uc_infoCardClass" %>
<asp:FormView ID="frm_info" runat="server" BorderStyle="None" CssClass="uc_info adaptiveWidth400"
    CellPadding="0">
    <ItemTemplate>
        <div style=" border-bottom: solid 1px #999999; background-color:#575757;">
            &nbsp;<asp:Label ID="Label13" runat="server" 
                style="color: #FFFFFF;"  Text="掲示内容"></asp:Label>
        </div>
        <div style=" border-bottom: solid 1px #999999; background-color: #EAEAEA;">
            &nbsp;<asp:Image ID="img_title1" runat="server" ImageAlign="AbsMiddle" 
                ImageUrl="~/img/title_point.png" />
            <asp:Label ID="Label2" runat="server" 
                style="color: #333333;" Text="掲示者"></asp:Label>
        </div>
        <div>
            &nbsp;&nbsp;<asp:Label ID="Label8" runat="server" Text='<%# Eval("掲示者") %>' 
                style="color: #333333;" Width="300px"></asp:Label>
        </div>
        <div style=" border-bottom: solid 1px #999999; background-color: #EAEAEA;">
            &nbsp;<asp:Image ID="img_title2" runat="server" ImageAlign="AbsMiddle" 
                ImageUrl="~/img/title_point.png" />
            <asp:Label ID="Label3" runat="server" 
                style="color: #333333;" Text="期間"></asp:Label>
        </div>
        <div>
            &nbsp;&nbsp;<asp:Label ID="Label9" runat="server" 
                style="color: #333333;"
                Text='<%# Eval("対象予定開始日","{0:yyyy/MM/dd (ddd)}") %>' Width="100px"></asp:Label>
            <asp:Label ID="Label17" runat="server" 
                Text="～"></asp:Label>
            <asp:Label ID="Label10" runat="server" 
                style="color: #333333;"
                Text='<%# Eval("対象予定終了日","{0:yyyy/MM/dd (ddd)}") %>' Width="100px"></asp:Label>
        </div>
        <div style=" border-bottom: solid 1px #999999; background-color: #EAEAEA;">
            &nbsp;<asp:Image ID="img_title3" runat="server" ImageAlign="AbsMiddle" 
                ImageUrl="~/img/title_point.png" />
            <asp:Label ID="Label4" runat="server" 
                style="color: #333333;" Text="休補講"></asp:Label>
        </div>
        <div>
           &nbsp;&nbsp;<asp:Label ID="Label16" runat="server" 
                style="color: #333333;"
                Text='<%# Eval("対象予定区分") %>' Width="100px"></asp:Label>
        </div>
        <div style=" border-bottom: solid 1px #999999; background-color: #EAEAEA;">
            &nbsp;<asp:Image ID="img_title4" runat="server" ImageAlign="AbsMiddle" 
                ImageUrl="~/img/title_point.png" />
            <asp:Label ID="Label5" runat="server" 
                style="color: #333333;" Text="科目CD/回"></asp:Label>      <%-- 2014.4.22 授業名⇒科目名 --%>
        </div>
        <div style="background-color:#FFFFD9;">
            &nbsp;&nbsp;<asp:Label ID="Label11" runat="server" 
                style="color: #333333;" 
                Text='<%# Eval("授業名") %>' Width="330px"></asp:Label>
         <br>
          <br>
        </div>
<%--        <div style=" border-bottom: solid 1px #999999; background-color: #EAEAEA;">
             &nbsp;<asp:Image ID="img_title5" runat="server" ImageAlign="AbsMiddle" 
                 ImageUrl="~/img/title_point.png" />
             <asp:Label ID="Label14" runat="server" 
                style="color: #333333;" Text="詳細"></asp:Label>
        </div>
        <div>
        <asp:GridView ID="gv_予定" runat="server" AutoGenerateColumns="False" 
    BorderStyle="None" 
    BorderColor="#CCCCCC" EnableViewState="False" GridLines="Horizontal" 
                BackColor="#FFFFD9" EnableModelValidation="True" CssClass="uc_info adaptiveWidth400">
    <EmptyDataRowStyle BorderWidth="0px" BorderColor="White" BorderStyle="None"/>
    <Columns>
        <asp:TemplateField HeaderText="日付">
            <ItemTemplate>
                <asp:Label ID="lb_予定日" runat="server" style="color: #333333;" 
                    Text='<%# Bind("予定日", "{0:yyyy/MM/dd (ddd)}") %>'></asp:Label>
            </ItemTemplate>
            <HeaderStyle Font-Bold="False" HorizontalAlign="Center" 
                VerticalAlign="Middle" BorderColor="White" BorderStyle="Solid" 
                BorderWidth="1px" />
            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" 
                 BorderColor="#CCCCCC" Width="120px"/>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="時限">
            <ItemTemplate>
                <asp:Label ID="Label2" runat="server" style="color: #333333;" 
                    Text='<%# Bind("時限","{0:#}限") %>'></asp:Label>
            </ItemTemplate>
            <EditItemTemplate>
                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("時限") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderStyle BorderColor="White" BorderStyle="Solid" BorderWidth="1px" 
                Font-Bold="False" HorizontalAlign="Center" VerticalAlign="Middle" />
            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" 
                BorderColor="#CCCCCC" />
        </asp:TemplateField>
        <asp:TemplateField HeaderText="教室">
            <ItemTemplate>
                <asp:Label ID="Label3" runat="server" style="color: #333333;" 
                    Text='<%# Bind("教室") %>'></asp:Label>
            </ItemTemplate>
            <EditItemTemplate>
                <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("教室") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderStyle BorderColor="White" BorderStyle="Solid" BorderWidth="1px" 
                Font-Bold="False" HorizontalAlign="Left" VerticalAlign="Middle" />
            <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" 
                BorderColor="#CCCCCC" />
        </asp:TemplateField>
    </Columns>
    <EmptyDataTemplate>
        &nbsp;&nbsp;
    </EmptyDataTemplate>
    <HeaderStyle BackColor="#575757" ForeColor="White" 
        BorderColor="White" BorderStyle="Solid" BorderWidth="1px" />
    
</asp:GridView>

        </div>--%>
        <div style=" border-bottom: solid 1px #888888; background-color: #EAEAEA;">
            &nbsp;<asp:Image ID="img_title6" runat="server" ImageAlign="AbsMiddle" 
                ImageUrl="~/img/title_point.png" />
            <asp:Label ID="Label6" runat="server" 
                style="color: #333333;" Text="詳細"></asp:Label>
        </div>
        <div style="background-color:#FFFFD9;">
            &nbsp;&nbsp;<asp:Label ID="Label12" runat="server" 
                style="color:#333333;" 
                Text='<%# Eval("掲示詳細").ToString().Replace(Environment.NewLine, "<br />") %>' Width="330px"></asp:Label>
        </div>
        <br>
    </ItemTemplate>
    <EmptyDataTemplate>
        &nbsp;<asp:Label ID="Label15" runat="server" 
            style="color: #333333" 
            Text="表示する掲示タイトルを選択してください。"></asp:Label>
    </EmptyDataTemplate>
</asp:FormView>





