<%@ Page Language="VB" MasterPageFile="~/portal.master" AutoEventWireup="false" CodeFile="ClaimDetail.aspx.vb" Inherits="ClaimDetail" %>

<%-- [Webフォーム]head Start --%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../css/jquery-ui.css?20180910" rel="stylesheet" />
    <style>
        .sheetHeader {
            width: 80px;
        }

        th.newHeader {
            text-align: left;
            padding-left: 10px;
            background: #007fff;
            color: white;
        }

        .tabMain {
            clear: both;
            margin-top: 10px;
            width: 800px;
            font-family: メイリオ;
            font-size: 9pt;
        }

        .alignCenter {
            text-align:center;
        }
    </style>
</asp:Content>
<%-- [Webフォーム]head End --%>

<%-- [Webフォーム]body Start --%>
<asp:Content ID="Content2" ContentPlaceHolderID="msp_asp_cph1" runat="server">   
    
    <%-- SqlDataSource Start --%>
    <asp:SqlDataSource ID="sds希望学科" runat="server"></asp:SqlDataSource>
    <asp:SqlDataSource ID="sds全履歴" runat="server"></asp:SqlDataSource>
    <asp:SqlDataSource ID="sdsアクション" runat="server"></asp:SqlDataSource>
    <asp:SqlDataSource ID="sdsアプローチ" runat="server"></asp:SqlDataSource>
    <asp:SqlDataSource ID="sdsイベント" runat="server"></asp:SqlDataSource>
    <asp:SqlDataSource ID="sds全希望学科" runat="server"></asp:SqlDataSource>
    <asp:SqlDataSource ID="sds出願情報" runat="server"></asp:SqlDataSource>
    <asp:SqlDataSource ID="sds特記" runat="server"></asp:SqlDataSource>
    <%-- SqlDataSource End --%>

<asp:FormView ID="FRM請求者" runat="server">
    <EmptyDataTemplate>
        <div style="width:800px;">
            <span class="accent">
                請求者を選択してください。
            </span>
        </div>
    </EmptyDataTemplate>

    <ItemTemplate>    
    <%--ヘッダーの情報部分 --%>    
    <table class="sheet" border="1" style="margin-top: 5px; width: 800px;">
        <tr>
            <td class="header" style="width: 10%;">請求NO
            </td>
            <td class="detail" style="width: 10%;">
                <asp:Label ID="lbl請求NO" Text='<%# Eval("請求NO")%>' runat="server"></asp:Label>
            </td>
            <td class="header" style="width: 10%;">出願(予定)年度                
            </td>
            <td class="detail" style="width: 10%;">                
                <asp:Label ID="lbl出予年度" Text='<%# Eval("出予年度")%>' runat="server"></asp:Label>
            </td>
            <td class="header" style="width: 10%;">DM
            </td>
            <td class="detail" style="width: 10%;">                
                <asp:Label ID="lblDM" Text='<%# Eval("DM")%>' runat="server"></asp:Label>
            </td>
            <td class="header" style="width: 10%;">学年
            </td>
            <td class="detail" style="width: 10%;">
                <asp:Label ID="lbl学年" Text='<%# Eval("学年")%>' runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="header" style="width: 13%">氏名
            </td>
            <td class="detail" colspan="3" style="width: 37%">
                <asp:Label ID="lbl氏名" Text='<%# Eval("名前")%>' runat="server"></asp:Label>
            </td>
            <td class="header" style="width: 13%">出身高校
            </td>
            <td class="detail" colspan="3" style="width: 37%">
                <asp:Label ID="lbl出身高校名" Text='<%# Eval("学校名")%>' runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="header" style="width: 10%;">登録日
            </td>
            <td class="detail" style="width: 10%;">
                <asp:Label ID="lbl登録日" Text='<%# Eval("登録日", "{0:yyyy/MM/dd}")%>' runat="server"></asp:Label>
            </td>
            <td class="header" style="width: 10%;">更新日
            </td>
            <td class="detail" style="width: 10%;">
                <asp:Label ID="lbl更新日" Text='<%# Eval("更新日", "{0:yyyy/MM/dd}")%>' runat="server"></asp:Label>
            </td>
        </tr>
    </table>

    <%--タブ上段--%>
    <div id="tabMain" class="tabMain">
        <ul style="margin: 0; padding: 0px;">
            <li><a href="#tabPrincipal">本人</a></li>
            <li><a href="#tabOldSchool">出身校</a></li>
            <li><a href="#tabProtecter">保護者等</a></li>
            <li><a href="#tabReport">調査書等</a></li>
            <li><a href="#tabQualification">在留資格</a></li>
            <li><a href="#tabAO">AO入学</a></li>            
        </ul>
        <%--本人タブの内容--%>
        <div id="tabPrincipal" style="vertical-align: top; padding: 5px;">
            <table style="width: 100%;">
                <tr>
                    <td style="vertical-align: top; width: 50%;">
                        <table class="sheet" style="width: 100%; table-layout: auto;">
                            <tr>
                                <td class="header sheetHeader">氏名                                    
                                </td>
                                <td class="detail" colspan="5">
                                    <asp:Label ID="lbl氏名_本人" Text='<%# Eval("名前")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">ふりがな</td>
                                <td class="detail" colspan="5">
                                    <asp:Label ID="lblふりがな" Text='<%# Eval("ふり")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">英　名</td>
                                <td class="detail" colspan="5">
                                    <asp:Label ID="lbl英名" Text='<%# Eval("英名")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">性別</td>
                                <td class="detail" style="width: 20px;" colspan="5">
                                    <asp:Label ID="lbl性別" Text='<%# Eval("性")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>

                                <td class="header sheetHeader" style="width: 60px;">生年月日                                    
                                </td>
                                <td class="detail" style="width: 100px;">
                                    <asp:Label ID="lbl生年月日" Text='<%# Eval("生年", "{0:yyyy/MM/dd}")%>' runat="server"></asp:Label>
                                </td>
                                <td class="header sheetHeader" style="width: 60px;">年齢
                                </td>
                                <td class="detail">
                                    <asp:Label ID="lbl年齢" Text='<%# Eval("年齢")%>' runat="server"></asp:Label>
                                </td>
                                <td></td>
                                <td></td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">郵便番号                        
                                </td>
                                <td class="detail" colspan="5">                                    
                                    <asp:Label ID="lbl郵便番号" Text='<%# Eval("郵便")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">県CD</td>
                                <td class="detail">
                                    <asp:Label ID="lbl県CD" Text='<%# Eval("県CD")%>' runat="server"></asp:Label>
                                    <asp:Label ID="lbl県名" Text='<%# Eval("県名")%>' runat="server"></asp:Label>
                                </td>
                                <td class="header sheetHeader">地区</td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl地区" Text='<%# Eval("地区名")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">住所</td>
                                <td class="detail" colspan="5">                                    
                                    <asp:Label ID="lbl住所0102" Text='<%# Eval("住所01") & Eval("住所02")%>' runat="server"></asp:Label>                                    
                                    <asp:Label ID="lbl住所03"  Text='<%# IIf(String.IsNullOrEmpty(Eval("住所03").ToString), "", "<br />") & Eval("住所03")%>' runat="server"></asp:Label>
                                </td>
                            </tr>                            
                            <tr>
                                <td class="header sheetHeader">TEL                        
                                </td>
                                <td class="detail" colspan="5">
                                    <asp:Label ID="lblTEL" Text='<%# Eval("TEL")%>' runat="server"></asp:Label>                                                                      
                                    <asp:Label ID="lblTEL規定" Text='<%# IIf(String.IsNullOrEmpty(Eval("規定TEL1").ToString), "", "　　　※") & Eval("規定TEL1")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">携帯等                        
                                </td>
                                <td class="detail" colspan="5">
                                    <asp:Label ID="lbl携帯" Text='<%# Eval("TEL02")%>' runat="server"></asp:Label>                                    
                                    <asp:Label ID="lbl携帯規定" Text='<%# IIf(String.IsNullOrEmpty(Eval("規定TEL2").ToString), "", "　　　※") & Eval("規定TEL2")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">E-mail                        
                                </td>
                                <td class="detail" colspan="5">
                                    <asp:Label ID="lblEmail" Text='<%# Eval("EMAIL")%>' runat="server"></asp:Label>                                    
                                    <asp:Label ID="lblEmail規定" Text='<%# IIf(String.IsNullOrEmpty(Eval("規定1").ToString), "", "　　　※") & Eval("規定1")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">携帯E-mail                        
                                </td>
                                <td class="detail" colspan="5">
                                    <asp:Label ID="lbl携帯Email" Text='<%# Eval("EMAIL02")%>' runat="server"></asp:Label>                                    
                                    <asp:Label ID="lbl携帯Email規定" Text='<%# IIf(String.IsNullOrEmpty(Eval("規定2").ToString), "", "　　　※") & Eval("規定2")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">他E-mail                        
                                </td>
                                <td class="detail" colspan="5">
                                    <asp:Label ID="lbl他Email" Text='<%# Eval("EMAIL03")%>' runat="server"></asp:Label>                                    
                                    <asp:Label ID="lbl他Email規定" Text='<%# IIf(String.IsNullOrEmpty(Eval("規定3").ToString), "", "　　　※") & Eval("規定3")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td style="vertical-align: top; width: 50%;">
                        <table class="sheet" style="width: 100%; padding: 1px;">
                            <tr>
                                <td class="header sheetHeader" style="width: 100px;">国籍</td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl国籍" Text='<%# Eval("国籍名")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">ランク
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lblランク" Text='<%# Eval("請求ランク")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">学園
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl学園" Text='<%# Eval("学園名")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">学歴
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl学歴" Text='<%# Eval("学歴名")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">請求備考
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl請求備考" Text='<%# Eval("請求備考").ToString.Replace(vbCrLf, "<br />")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader" colspan="4">最新希望学科
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <div style="overflow: scroll; height: 168px; width: 100%;">                                        
                                        <asp:GridView
                                            ID="gv希望学科" AutoGenerateColumns="False" DataSourceID="sds希望学科"
                                            EnableModelValidation="True" AllowPaging="False" Width="100%" CssClass="list" GridLines="Vertical"
                                            DataKeyNames="CNT" EnableViewState="True" ShowFooter="False" runat="server">
                                            <Columns>
                                                <asp:BoundField HeaderText="順" DataField="希望NO">
                                                    <HeaderStyle Font-Bold="False" Width="10%" />
                                                    <ItemStyle HorizontalAlign="Left" />
                                                </asp:BoundField>
                                                <asp:BoundField HeaderText="学部" DataField="学部名">
                                                    <HeaderStyle Font-Bold="False" Width="30%" />
                                                    <ItemStyle HorizontalAlign="Left" />
                                                </asp:BoundField>
                                                <asp:BoundField HeaderText="学科" DataField="学科名">
                                                    <HeaderStyle Font-Bold="False" Width="30%" />
                                                    <ItemStyle HorizontalAlign="Left" />
                                                </asp:BoundField>
                                                <asp:BoundField HeaderText="専攻" DataField="専攻名">
                                                    <HeaderStyle Font-Bold="False" Width="30%" />
                                                    <ItemStyle HorizontalAlign="Left" />
                                                </asp:BoundField>
                                            </Columns>
                                            <AlternatingRowStyle CssClass="alt-row" />
                                            <FooterStyle BackColor="#E8E8E8" BorderStyle="None" />
                                            <PagerSettings Mode="NumericFirstLast" Position="Top" />
                                            <PagerStyle HorizontalAlign="Center" Font-Size="Larger" />
                                        </asp:GridView>
                                    </div>


                                </td>
                            </tr>

                        </table>
                    </td>
                </tr>
            </table>
        </div>
        
        <%--出身校タブの内容--%>
        <div id="tabOldSchool" style="vertical-align: top; padding: 5px;">
            <table style="width: 100%;">
                <tr>
                    <td style="vertical-align: top; width: 50%;">
                        <fieldset style="font-size: 9pt; margin: 0px;">
                            <legend>出身高校</legend>

                            <table class="sheet" style="width: 100%; table-layout: auto;">
                                <tr>
                                    <td class="header sheetHeader">分類CD
                                    </td>
                                    <td class="detail">                                        
                                        <asp:Label ID="lbl高校分類CD" Text='<%# Eval("分類CD")%>' runat="server"></asp:Label>
                                    </td>    
                                    <td class="header sheetHeader">分類名
                                    </td>
                                    <td class="detail">                                        
                                        <asp:Label ID="lbl高校分類名" Text='<%# Eval("学校分類名")%>' runat="server"></asp:Label>
                                    </td>                                 
                                </tr>                                
                                <tr>
                                    <td class="header sheetHeader">学校CD
                                    </td>
                                    <td class="detail" colspan="3">  
                                        <asp:Label ID="lbl高校学校CD" Text='<%# Eval("学校CD")%>' runat="server"></asp:Label>                                    
                                    </td>                                    
                                </tr>
                                <tr>
                                    <td class="header sheetHeader">学校名
                                    </td>
                                    <td class="detail" colspan="3">                                        
                                        <asp:Label ID="lbl高校学校名" Text='<%# Eval("学校名")%>' runat="server"></asp:Label>                                            
                                    </td>                                    
                                </tr>
                                <tr>
                                    <td class="header sheetHeader">学年
                                    </td>
                                    <td class="detail">
                                        <asp:Label ID="lbl高校学年" Text='<%# Eval("学年")%>' runat="server"></asp:Label>                                        
                                    </td>
                                    <td class="header sheetHeader">卒業年度
                                    </td>
                                    <td class="detail">
                                        <asp:Label ID="lbl高校卒業年度" Text='<%# Eval("卒業年度")%>' runat="server"></asp:Label>                                        
                                    </td>
                                </tr>                                
                                <tr>
                                    <td class="header sheetHeader">学部
                                    </td>
                                    <td class="detail">
                                        <asp:Label ID="lbl高校学部" Text='<%# Eval("課程")%>' runat="server"></asp:Label>
                                    </td>
                                    <td class="header sheetHeader">学科
                                    </td>
                                    <td class="detail">
                                        <asp:Label ID="lbl高校学科" Text='<%# Eval("学科")%>' runat="server"></asp:Label>                                        
                                    </td>
                                </tr>                              
                                <tr>
                                    <td class="header sheetHeader">担任
                                    </td>
                                    <td class="detail" colspan="3">
                                        <asp:Label ID="lbl担任" Text='<%# Eval("担任")%>' runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="header sheetHeader">学校備考
                                    </td>
                                    <td class="detail" colspan="3">
                                        <asp:Label ID="lbl高校備考" Text='<%# Eval("学校備考").ToString.Replace(vbCrLf, "<br />")%>' runat="server"></asp:Label>                                        
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                    </td>
                    <td style="vertical-align: top; width: 50%;">
                        <fieldset style="font-size: 9pt;">
                            <legend>出身学校</legend>

                            <table class="sheet" style="width: 100%; table-layout: auto;">
                                <tr>
                                    <td class="header sheetHeader">分類CD
                                    </td>
                                    <td class="detail">                                        
                                        <asp:Label ID="lbl学校分類CD" Text='<%# Eval("分類CD02")%>' runat="server"></asp:Label>
                                    </td> 
                                    <td class="header sheetHeader">分類名
                                    </td>
                                    <td class="detail">                                        
                                        <asp:Label ID="lbl学校分類名" Text='<%# Eval("学校分類名02")%>' runat="server"></asp:Label>
                                    </td>                                     
                                </tr>                                
                                <tr>
                                    <td class="header sheetHeader">学校CD
                                    </td>
                                    <td class="detail" colspan="3">  
                                        <asp:Label ID="lbl学校CD" Text='<%# Eval("学校CD02")%>' runat="server"></asp:Label>                                    
                                    </td>                                    
                                </tr>
                                <tr>
                                    <td class="header sheetHeader">学校名
                                    </td>
                                    <td class="detail" colspan="3">
                                        <asp:Label ID="lbl学校名" Text='<%# Eval("学校名02")%>' runat="server"></asp:Label>                                            
                                    </td>                                    
                                </tr>                                
                                <tr>
                                    <td class="header sheetHeader">卒業年度                        
                                    </td>
                                    <td class="detail" colspan="3">                                        
                                        <asp:Label ID="lbl学校卒業年度" Text='<%# Eval("卒業年度02")%>' runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="header sheetHeader">学部
                                    </td>
                                    <td class="detail">
                                        <asp:Label ID="lbl学校学部" Text='<%# Eval("課程02")%>' runat="server"></asp:Label>                                        
                                    </td>
                                    <td class="header sheetHeader">学科
                                    </td>
                                    <td class="detail">
                                        <asp:Label ID="lbl学校学科" Text='<%# Eval("学科02")%>' runat="server"></asp:Label>                                        
                                    </td>
                                </tr>                               
                                <tr>
                                    <td class="header sheetHeader">卒業中退
                                    </td>
                                    <td class="detail" colspan="3">
                                        <asp:Label ID="lbl学校卒業中退" Text='<%# Eval("卒業中退02")%>' runat="server"></asp:Label>                                        
                                    </td>
                                </tr>
                                <tr>
                                    <td class="header sheetHeader">学校備考
                                    </td>
                                    <td class="detail" colspan="3">
                                        <asp:Label ID="lbl学校備考" Text='<%# Eval("学校備考02").ToString.Replace(vbCrLf, "<br />")%>' runat="server"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                    </td>
                </tr>
            </table>
        </div>
        <%--保護者等タブの内容--%>
        <div id="tabProtecter" style="vertical-align: top; padding: 5px;">
            <table style="width: 100%;">
                <tr>
                    <td style="vertical-align: top; width: 50%;">
                        <table class="sheet" style="width: 100%; table-layout: auto;">
                            <tr>
                                <td class="header sheetHeader">保護者
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl保護者" Text='<%# Eval("護名前")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">ふりがな
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl保護者ふりがな" Text='<%# Eval("護ふり")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">同居
                                </td>
                                <td class="detail">
                                    <asp:Label ID="lbl同居" Text='<%# Eval("同居")%>' runat="server"></asp:Label>                                    
                                </td>
                                <td class="header sheetHeader">続柄
                                </td>
                                <td class="detail">
                                    <asp:Label ID="lbl続柄" Text='<%# Eval("護続柄")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">郵便番号                        
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl保護者郵便番号" Text='<%# Eval("護郵便")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">住所
                                </td>
                                <td class="detail" colspan="3">                                    
                                    <asp:Label ID="lbl保護者住所0102" Text='<%# Eval("護住所01") & Eval("護住所02")%>' runat="server"></asp:Label> 
                                    <asp:Label ID="lbl保護者住所03"  Text='<%# IIf(String.IsNullOrEmpty(Eval("護住所03").ToString), "", "<br />") & Eval("護住所03")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>                            
                            <tr>
                                <td class="header sheetHeader">TEL                        
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl保護者TEL" Text='<%# Eval("護TEL")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">携帯等                        
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl保護者携帯" Text='<%# Eval("護TEL02")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td style="vertical-align: top; width: 50%;">
                        <table class="sheet" style="width: 100%; table-layout: auto;">
                            <tr>
                                <td class="header sheetHeader">保証人
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl保証人" Text='<%# Eval("証名前")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">ふりがな
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl保証人ふりがな" Text='<%# Eval("証ふり")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">保護者同
                                </td>
                                <td class="detail">
                                    <asp:Label ID="lbl保護者同" Text='<%# Eval("同上")%>' runat="server"></asp:Label>                                    
                                </td>
                                <td class="header sheetHeader">続柄
                                </td>
                                <td class="detail">
                                    <asp:Label ID="lbl保証人続柄" Text='<%# Eval("証続柄")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">郵便番号                        
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl保証人郵便番号" Text='<%# Eval("証郵便")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">住所
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl保証人住所0102" Text='<%# Eval("証住所01") & Eval("証住所02")%>'  runat="server"></asp:Label>                                    
                                    <asp:Label ID="lbl保証人住所03" Text='<%# IIf(String.IsNullOrEmpty(Eval("証住所03").ToString), "", "<br />") & Eval("証住所03")%>' runat="server"></asp:Label>
                                </td>
                            </tr>                            
                            <tr>
                                <td class="header sheetHeader">TEL                        
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl保証人TEL" Text='<%# Eval("証TEL")%>' runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader">携帯等                        
                                </td>
                                <td class="detail" colspan="3">
                                    <asp:Label ID="lbl保証人携帯" Text='<%# Eval("証TEL02")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </div>

        <%--調査書タブの内容--%>        
        <div id="tabReport" style="vertical-align: top; padding: 5px;">            
            <table class="sheet" style="width: 100%; table-layout: auto;" rules="all">
                <tr>
                    <td class="header sheetHeader alignCenter" style="height:22px;">
                        <asp:Label ID="lbl科目名01" Text='<%# Eval("科目名01")%>' runat="server"></asp:Label>
                    </td> 
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="lbl科目名02" Text='<%# Eval("科目名02")%>' runat="server"></asp:Label>
                    </td>  
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="lbl科目名03" Text='<%# Eval("科目名03")%>' runat="server"></asp:Label>
                    </td> 
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="lbl科目名04" Text='<%# Eval("科目名04")%>' runat="server"></asp:Label>
                    </td> 
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="lbl科目名05" Text='<%# Eval("科目名05")%>' runat="server"></asp:Label>
                    </td> 
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="lbl科目名06" Text='<%# Eval("科目名06")%>' runat="server"></asp:Label>
                    </td>  
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="lbl科目名07" Text='<%# Eval("科目名07")%>' runat="server"></asp:Label>
                    </td>
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="lbl科目名08" Text='<%# Eval("科目名08")%>' runat="server"></asp:Label>
                    </td>
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="lbl科目名09" Text='<%# Eval("科目名09")%>' runat="server"></asp:Label>
                    </td>
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="lbl科目名10" Text='<%# Eval("科目名10")%>' runat="server"></asp:Label>
                    </td> 
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label1" runat="server" Text="評定"></asp:Label>
                    </td>                
                </tr>
                <tr>
                    <td class="detail alignCenter" style="height:22px;">
                        <asp:Label ID="lbl科目01" Text='<%# Eval("科目01")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl科目02" Text='<%# Eval("科目02")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl科目03" Text='<%# Eval("科目03")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl科目04" Text='<%# Eval("科目04")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl科目05" Text='<%# Eval("科目05")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl科目06" Text='<%# Eval("科目06")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl科目07" Text='<%# Eval("科目07")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl科目08" Text='<%# Eval("科目08")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl科目09" Text='<%# Eval("科目09")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl科目10" Text='<%# Eval("科目10")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl評定" Text='<%# Eval("評定")%>' runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader alignCenter" style="height:22px;">
                        <asp:Label ID="Label2" Text="ランク" runat="server"></asp:Label>
                    </td> 
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label3" Text="他加点" runat="server"></asp:Label>
                    </td>  
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label4" Text="欠席 1年" runat="server"></asp:Label>
                    </td> 
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label5" Text="欠席 2年" runat="server"></asp:Label>
                    </td> 
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label6" Text="欠席 3年" runat="server"></asp:Label>
                    </td> 
                    <td class="detail" colspan="3" rowspan="2">                        
                    </td>
                    <td class="detail" colspan="3" rowspan="4">
                        <table class="sheet" style="width:100%;" rules="all">
                            <tr>
                                <td class="header sheetHeader alignCenter" style="height:27px; width:30%;">
                                    <asp:Label ID="Label7" Text="クラブ" runat="server"></asp:Label>
                                </td>
                                <td class="detail" style="width:70%;">
                                    <asp:Label ID="lblクラブ" Text='<%# Eval("クラブ")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader alignCenter" style="height:27px;">
                                    <asp:Label ID="Label8" Text="委員会" runat="server"></asp:Label>
                                </td>
                                <td class="detail">
                                    <asp:Label ID="lbl委員会" Text='<%# Eval("委員会")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="header sheetHeader alignCenter" style="height:27px;">
                                    <asp:Label ID="Label9" Text="生徒会" runat="server"></asp:Label>
                                </td>
                                <td class="detail">
                                    <asp:Label ID="lbl生徒会" Text='<%# Eval("生徒会")%>' runat="server"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </td>                  
                </tr>
                <tr>
                    <td class="detail alignCenter" style="height:22px;">
                        <asp:Label ID="lblLANK" Text='<%# Eval("LANK")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl加点" Text='<%# Eval("加点")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl欠01" Text='<%# Eval("欠01")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl欠02" Text='<%# Eval("欠02")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl欠03" Text='<%# Eval("欠03")%>' runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader alignCenter" style="height:22px;">
                        <asp:Label ID="Label10" Text="調査書" runat="server"></asp:Label>
                    </td> 
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label11" Text="推薦書" runat="server"></asp:Label>
                    </td>  
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label12" Text="写真" runat="server"></asp:Label>
                    </td> 
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label13" Text="保証書" runat="server"></asp:Label>
                    </td> 
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label14" Text="誓約書" runat="server"></asp:Label>
                    </td>
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label21" Text="入学金" runat="server"></asp:Label>
                    </td>  
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label22" Text="延納願" runat="server"></asp:Label>
                    </td>
                    <td class="header sheetHeader alignCenter">
                        <asp:Label ID="Label23" Text="振替紙" runat="server"></asp:Label>
                    </td>                                      
                </tr>
                <tr>
                    <td class="detail alignCenter" style="height:22px;">
                        <asp:Label ID="lbl調査書" Text='<%# Eval("調査書")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl推薦書" Text='<%# Eval("推薦書")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl写真" Text='<%# Eval("写真")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl保証書" Text='<%# Eval("保証書")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl誓約書" Text='<%# Eval("誓約書")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl入学金" Text='<%# Eval("入学金")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl延納" Text='<%# Eval("延納")%>' runat="server"></asp:Label>
                    </td>
                    <td class="detail alignCenter">
                        <asp:Label ID="lbl振替" Text='<%# Eval("振替")%>' runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>

        <%--在留資格タブの内容--%>
        <div id="tabQualification" style="vertical-align: top; padding: 5px;">
            <table class="sheet" style="width: 100%; table-layout: auto;">
                <tr>
                    <td class="header sheetHeader">在留資格
                    </td>
                    <td class="detail" colspan="5">
                        <asp:Label ID="lbl在留資格" Text='<%# Eval("在留資格")%>' runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">入国日(予定)                                    
                    </td>
                    <td class="detail" style="width: 150px;">
                        <asp:Label ID="lbl入国日" Text='<%# Eval("入国日", "{0:yyyy/MM/dd}")%>' runat="server"></asp:Label>                        
                    </td>
                    <td class="header sheetHeader">在留期限                                    
                    </td>
                    <td class="detail" colspan="3">
                        <asp:Label ID="lbl在留期限" Text='<%# Eval("在満了日", "{0:yyyy/MM/dd}")%>' runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">入管受理番号                        
                    </td>
                    <td class="detail">
                        <asp:Label ID="lbl入管受理番号" Text='<%# Eval("入管受理番号")%>' runat="server"></asp:Label>
                    </td>
                    <td class="header sheetHeader">入管許可番号                        
                    </td>
                    <td class="detail" style="width: 100px;">
                        <asp:Label ID="lbl入管許可番号" Text='<%# Eval("入管許可番号")%>' runat="server"></asp:Label>
                    </td>
                    <td class="header sheetHeader">登録証番号                        
                    </td>
                    <td class="detail">
                        <asp:Label ID="lbl登録証番号" Text='<%# Eval("登録証番号")%>' runat="server"></asp:Label>                        
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">旅券番号                        
                    </td>
                    <td class="detail">
                        <asp:Label ID="lbl旅券番号" Text='<%# Eval("パスNO")%>' runat="server"></asp:Label>
                    </td>
                    <td class="header sheetHeader">旅券期限                                    
                    </td>
                    <td class="detail" colspan="3">
                        <asp:Label ID="lbl旅券期限" Text='<%# Eval("パス期限", "{0:yyyy/MM/dd}")%>' runat="server"></asp:Label>                        
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">本国住所
                    </td>
                    <td class="detail" colspan="5">
                        <asp:Label ID="lbl本国住所" Text='<%# Eval("本国住所")%>' runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">出生地
                    </td>
                    <td class="detail" colspan="5">
                        <asp:Label ID="lbl出生地" Text='<%# Eval("出生地")%>' runat="server"></asp:Label>                        
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">配偶者の有無
                    </td>
                    <td class="detail" colspan="5">
                        <asp:Label ID="lbl配偶者" Text='<%# Eval("配偶者")%>' runat="server"></asp:Label>                        
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">入国前職業
                    </td>
                    <td class="detail" colspan="5">
                        <asp:Label ID="lbl入国前職業" Text='<%# Eval("入国前職業")%>' runat="server"></asp:Label>                        
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">紹介機関名
                    </td>
                    <td class="detail" colspan="5">                        
                        <asp:Label ID="lbl紹介機関名" Text='<%# Eval("紹介機関")%>' runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
        <%--AO入試タブの内容--%>        
        <div id="tabAO" style="vertical-align: top; padding: 5px;">            
            <table class="sheet" style="width: 100%; table-layout: auto;">              
                <tr>
                    <td class="header sheetHeader">区分
                    </td>
                    <td class="detail">
                        <asp:Label ID="lblAO区分" Text='<%# Eval("AO区分")%>' runat="server"></asp:Label>
                    </td>
                    <td class="header sheetHeader">エントリー日                         
                    </td>
                    <td class="detail" style="width: 150px;">
                        <asp:Label ID="lblエントリー日" Text='<%# Eval("AO希望日", "{0:yyyy/MM/dd}")%>' runat="server"></asp:Label>                        
                    </td>
                    <td class="header sheetHeader">受付NO
                    </td>
                    <td class="detail">
                        <asp:Label ID="lblAO受付NO" Text='<%# Eval("AONO")%>' runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">学部
                    </td>
                    <td class="detail" colspan="5">
                        <asp:Label ID="lblAO学部" Text='<%# Eval("AO課程名")%>' runat="server"></asp:Label>                        
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">学科
                    </td>
                    <td class="detail" colspan="5">
                        <asp:Label ID="lblAO学科" Text='<%# Eval("AO学科名")%>' runat="server"></asp:Label>                        
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">専攻
                    </td>
                    <td class="detail" colspan="5">
                        <asp:Label ID="lblAO専攻" Text='<%# Eval("AO専攻名")%>' runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">面接日時                                    
                    </td>
                    <td class="detail" style="width: 180px;">
                        <asp:Label ID="lblAO面接日時" Text='<%# Eval("AO面接日", "{0:yyyy/MM/dd}") & " " & Eval("AO面接時刻", "{0:HH:mm}")%>' runat="server"></asp:Label>                        
                    </td>
                    <td class="header sheetHeader">面接担当者
                    </td>
                    <td class="detail" colspan="3">
                        <asp:Label ID="lblAO面接担当者" Text='<%# Eval("AO面接担当者")%>' runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">資格認定
                    </td>
                    <td class="detail" colspan="5">
                        <asp:Label ID="lbl資格認定" Text='<%# Eval("AO適正")%>' runat="server"></asp:Label>                        
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">実施
                    </td>
                    <td class="detail">
                        <asp:Label ID="lbl実施" Text='<%# Eval("AO面接実施")%>' runat="server"></asp:Label>                        
                    </td>
                    <td class="header sheetHeader">結果
                    </td>
                    <td class="detail" colspan="3">
                        <asp:Label ID="lbl結果" Text='<%# Eval("AO面接")%>' runat="server"></asp:Label>                        
                    </td>
                </tr>
                <tr>
                    <td class="header sheetHeader">認定日                        
                    </td>
                    <td class="detail" style="width: 15px;">
                        <asp:Label ID="lblAO認定日" Text='<%# Eval("AO適正日", "{0:yyyy/MM/dd}")%>'  runat="server"></asp:Label>
                    </td>
                    <td class="header sheetHeader">選考NO                        
                    </td>
                    <td class="detail" colspan="3">
                        <asp:Label ID="lblAO選考NO" Text='<%# Eval("AO選考NO")%>' runat="server"></asp:Label>                        
                    </td>
                </tr>
            </table>                           
        </div>
        
    </div>

    <%--タブ下段--%>
    <div style="margin-top: 10px; width: 800px; font-family: メイリオ; font-size: 9pt;" id="tabSub">
        <ul style="margin: 0; padding: 0px;">
            <li><a href="#tabHistory">全履歴</a></li>
            <li><a href="#tabAction">請求者アクション</a></li>
            <li><a href="#tabApproach">学校アプローチ</a></li>
            <li><a href="#tabEvent">イベント(体験・説明会)</a></li>
            <li><a href="#tabHope">希望学科</a></li>
            <li><a href="#tabEntry">出願情報</a></li>
            <li><a href="#tabNotice">特記</a></li>
        </ul>
        <%--全履歴タブの内容--%>
        <div id="tabHistory" style="vertical-align: top; padding: 5px; height: 200px; overflow: scroll;">            
            <asp:GridView
                ID="gv全履歴" AutoGenerateColumns="False" DataSourceID="sds全履歴"
                EnableModelValidation="True" AllowPaging="False" Width="100%" CssClass="list" GridLines="Vertical"
                EnableViewState="True" ShowFooter="False" runat="server" ShowHeaderWhenEmpty="true">
                <Columns>
                    <asp:BoundField HeaderText="区分" DataField="区分">
                        <HeaderStyle Font-Bold="False" Width="80px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="日付" DataField="日付" DataFormatString="{0:d}">
                        <HeaderStyle Font-Bold="False" Width="80px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="内容" DataField="内容">
                        <HeaderStyle Font-Bold="False" Width="200px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="実施日" DataField="実施日" DataFormatString="{0:d}">
                        <HeaderStyle Font-Bold="False" Width="80px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="担当" DataField="担当名">
                        <HeaderStyle Font-Bold="False" Width="100px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="ランク" DataField="ランク">
                        <HeaderStyle Font-Bold="False" Width="30px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="コメント">
                        <ItemTemplate>
                            <asp:Label ID="lblコメント" Text='<%# Eval("コメント").ToString.Replace(vbCrLf, "<br />")%>' runat="server"></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle Font-Bold="False" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:TemplateField>                    
                </Columns>
                <AlternatingRowStyle CssClass="alt-row" />
                <FooterStyle BackColor="#E8E8E8" BorderStyle="None" />
                <PagerSettings Mode="NumericFirstLast" Position="Top" />
                <PagerStyle HorizontalAlign="Center" Font-Size="Larger" />
            </asp:GridView>
        </div>
        <%--請求者アクションタブの内容--%>
        <div id="tabAction" style="vertical-align: top; padding: 5px; height: 200px; overflow: scroll;">            
            <asp:GridView
                ID="gvアクション" AutoGenerateColumns="False" DataSourceID="sdsアクション"
                EnableModelValidation="True" AllowPaging="False" Width="100%" CssClass="list" GridLines="Vertical"
                EnableViewState="True" ShowFooter="False" runat="server" ShowHeaderWhenEmpty="true">
                <Columns>                    
                    <asp:BoundField HeaderText="日付" DataField="日付" DataFormatString="{0:d}">
                        <HeaderStyle Font-Bold="False" Width="80px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="業者" DataField="業者名">
                        <HeaderStyle Font-Bold="False" Width="150px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="アクション" DataField="媒体名">
                        <HeaderStyle Font-Bold="False" Width="150px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="形態" DataField="形態名">
                        <HeaderStyle Font-Bold="False" Width="50px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="担当" DataField="担当名">
                        <HeaderStyle Font-Bold="False" Width="100px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="ランク" DataField="ランク">
                        <HeaderStyle Font-Bold="False" Width="30px" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="コメント">
                        <ItemTemplate>
                            <asp:Label ID="lblコメント" Text='<%# Eval("コメント").ToString.Replace(vbCrLf, "<br />")%>' runat="server"></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle Font-Bold="False" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:TemplateField>                    
                    <asp:TemplateField Visible="false">
                        <ItemTemplate>
                            <asp:HiddenField ID="hdn連携Key" runat="server" Value='<%# Eval("連携KEY") %>'/>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <AlternatingRowStyle CssClass="alt-row" />
                <FooterStyle BackColor="#E8E8E8" BorderStyle="None" />
                <PagerSettings Mode="NumericFirstLast" Position="Top" />
                <PagerStyle HorizontalAlign="Center" Font-Size="Larger" />
            </asp:GridView>
        </div>
        <%--アプローチタブの内容--%>
        <div id="tabApproach" style="vertical-align: top; padding: 5px; height: 200px; overflow: scroll;">            
            <asp:GridView
                ID="gvアプローチ" AutoGenerateColumns="False" DataSourceID="sdsアプローチ"
                EnableModelValidation="True" AllowPaging="False" Width="100%" CssClass="list" GridLines="Vertical"
                EnableViewState="True" ShowFooter="False" runat="server" ShowHeaderWhenEmpty="true">
                <Columns>                    
                    <asp:BoundField HeaderText="送付日" DataField="送付日" DataFormatString="{0:d}">
                        <HeaderStyle Font-Bold="False" Width="80px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="アプローチ" DataField="送付物">
                        <HeaderStyle Font-Bold="False" Width="150px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="区分" DataField="区分">
                        <HeaderStyle Font-Bold="False" Width="80px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="備考" DataField="備考">
                        <HeaderStyle Font-Bold="False" Width="150px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="担当" DataField="担当名">
                        <HeaderStyle Font-Bold="False" Width="100px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="コメント">
                        <ItemTemplate>
                            <asp:Label ID="lblコメント" Text='<%# Eval("コメント").ToString.Replace(vbCrLf, "<br />")%>' runat="server"></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle Font-Bold="False" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:TemplateField>                    
                </Columns>
                <AlternatingRowStyle CssClass="alt-row" />
                <FooterStyle BackColor="#E8E8E8" BorderStyle="None" />
                <PagerSettings Mode="NumericFirstLast" Position="Top" />
                <PagerStyle HorizontalAlign="Center" Font-Size="Larger" />
            </asp:GridView>
        </div>
        <%--イベントタブの内容--%>
        <div id="tabEvent" style="vertical-align: top; padding: 5px; height: 200px; overflow: scroll;">            
            <asp:GridView
                ID="gvイベント" AutoGenerateColumns="False" DataSourceID="sdsイベント"
                EnableModelValidation="True" AllowPaging="False" Width="1250px" CssClass="list" GridLines="Vertical"
                EnableViewState="True" ShowFooter="False" runat="server" ShowHeaderWhenEmpty="true">
                <Columns>
                    <asp:BoundField HeaderText="受付日" DataField="日付" DataFormatString="{0:d}">
                        <HeaderStyle Font-Bold="False" Width="100px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="種別" DataField="種別名">
                        <HeaderStyle Font-Bold="False" Width="200px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="業者" DataField="業者名">
                        <HeaderStyle Font-Bold="False" Width="200px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="イベント" DataField="説明会名">
                        <HeaderStyle Font-Bold="False" Width="250px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="参加日" DataField="実施日" DataFormatString="{0:d}">
                        <HeaderStyle Font-Bold="False" Width="100px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="主担当" DataField="担当者">
                        <HeaderStyle Font-Bold="False" Width="100px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="サブ担当" DataField="サブ担当者">
                        <HeaderStyle Font-Bold="False" Width="100px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="出欠" DataField="出欠">
                        <HeaderStyle Font-Bold="False" Width="50px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="ランク" DataField="ランク">
                        <HeaderStyle Font-Bold="False" Width="150px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="コメント">
                        <ItemTemplate>
                            <asp:Label ID="lblコメント" Text='<%# Eval("コメント").ToString.Replace(vbCrLf, "<br />")%>' runat="server"></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle Font-Bold="False"  Width="250px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:TemplateField>
                </Columns>
                <AlternatingRowStyle CssClass="alt-row" />
                <FooterStyle BackColor="#E8E8E8" BorderStyle="None" />
                <PagerSettings Mode="NumericFirstLast" Position="Top" />
                <PagerStyle HorizontalAlign="Center" Font-Size="Larger" />
            </asp:GridView>
        </div>
        <%--希望学科タブの内容--%>
        <div id="tabHope" style="vertical-align: top; padding: 5px; height: 200px; overflow: scroll;">            
            <asp:GridView
                ID="gv全希望学科" AutoGenerateColumns="False" DataSourceID="sds全希望学科"
                EnableModelValidation="True" AllowPaging="False" Width="100%" CssClass="list" GridLines="Vertical"
                EnableViewState="True" ShowFooter="False" runat="server" ShowHeaderWhenEmpty="true">
                <Columns>                    
                    <asp:BoundField HeaderText="希望日" DataField="希望日" DataFormatString="{0:d}">
                        <HeaderStyle Font-Bold="False" Width="80px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="順" DataField="希望NO">
                        <HeaderStyle Font-Bold="False" Width="20px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="学部" DataField="学部名">
                        <HeaderStyle Font-Bold="False" Width="150px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="学科" DataField="学科名">
                        <HeaderStyle Font-Bold="False" Width="150px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="専攻" DataField="専攻名">
                        <HeaderStyle Font-Bold="False" Width="150px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="学園  " DataField="学園名">
                        <HeaderStyle Font-Bold="False" Width="150px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                </Columns>
                <AlternatingRowStyle CssClass="alt-row" />
                <FooterStyle BackColor="#E8E8E8" BorderStyle="None" />
                <PagerSettings Mode="NumericFirstLast" Position="Top" />
                <PagerStyle HorizontalAlign="Center" Font-Size="Larger" />
            </asp:GridView>
        </div>
        <%--出願情報タブの内容--%>
        <div id="tabEntry" style="vertical-align: top; padding: 5px; height: 200px; overflow: scroll;">            
            <asp:GridView
                ID="gv出願情報" AutoGenerateColumns="False" DataSourceID="sds出願情報"
                EnableModelValidation="True" AllowPaging="False" Width="1420px" CssClass="list" GridLines="Vertical"
                EnableViewState="True" ShowFooter="False" runat="server" ShowHeaderWhenEmpty="true"
                 >
                <Columns>                    
                    <asp:BoundField HeaderText="出願No" DataField="出願NO">
                        <HeaderStyle Font-Bold="False" Width="50px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="出願年度" DataField="出願年度">
                        <HeaderStyle Font-Bold="False" Width="80px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="出願日" DataField="出願日" DataFormatString="{0:d}">
                        <HeaderStyle Font-Bold="False" Width="100px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="受験NO" DataField="受験NO">
                        <HeaderStyle Font-Bold="False" Width="80px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="合格" DataField="合否">
                        <HeaderStyle Font-Bold="False" Width="50px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="入学" DataField="入学">
                        <HeaderStyle Font-Bold="False" Width="50px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="学籍NO" DataField="学籍NO">
                        <HeaderStyle Font-Bold="False" Width="80px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="入試区分" DataField="受験区分名">
                        <HeaderStyle Font-Bold="False" Width="150px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="入試期" DataField="受験期名">
                        <HeaderStyle Font-Bold="False" Width="110px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="学部" DataField="学部名">
                        <HeaderStyle Font-Bold="False" Width="160px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="学科" DataField="学科名">
                        <HeaderStyle Font-Bold="False" Width="160px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="専攻" DataField="専攻名">
                        <HeaderStyle Font-Bold="False" Width="160px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="学園" DataField="学園名">
                        <HeaderStyle Font-Bold="False" Width="190px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                </Columns>
                <AlternatingRowStyle CssClass="alt-row" />
                <FooterStyle BackColor="#E8E8E8" BorderStyle="None" />
                <PagerSettings Mode="NumericFirstLast" Position="Top" />
                <PagerStyle HorizontalAlign="Center" Font-Size="Larger" />
            </asp:GridView>
        </div>
        <%--特記タブの内容--%>
        <div id="tabNotice" style="vertical-align: top; padding: 5px; height: 200px; overflow: scroll;">
            <asp:GridView
                ID="gv特記" AutoGenerateColumns="False" DataSourceID="sds特記"
                EnableModelValidation="True" AllowPaging="False" Width="100%" CssClass="list" GridLines="Vertical"
                EnableViewState="True" ShowFooter="False" runat="server" ShowHeaderWhenEmpty="true">
                <Columns>                    
                    <asp:BoundField HeaderText="特記種別" DataField="特記種別">
                        <HeaderStyle Font-Bold="False" Width="90px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="特記CD" DataField="特記CD">
                        <HeaderStyle Font-Bold="False" Width="60px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="特記" DataField="特記名">
                        <HeaderStyle Font-Bold="False" Width="150px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="日付" DataField="日付" DataFormatString="{0:d}">
                        <HeaderStyle Font-Bold="False" Width="100px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="備考">
                        <ItemTemplate>
                            <asp:Label ID="lbl備考" Text='<%# Eval("備考").ToString.Replace(vbCrLf, "<br />")%>' runat="server"></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle Font-Bold="False" Width="400px" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:TemplateField>
                </Columns>
                <AlternatingRowStyle CssClass="alt-row" />
                <FooterStyle BackColor="#E8E8E8" BorderStyle="None" />
                <PagerSettings Mode="NumericFirstLast" Position="Top" />
                <PagerStyle HorizontalAlign="Center" Font-Size="Larger" />
            </asp:GridView>
        </div>
    </div/>

    </ItemTemplate>
</asp:FormView>

    <asp:HiddenField ID="hdnTabIndex" runat="server" Value="0" />
    <asp:HiddenField ID="hdnTabIndex2" runat="server" Value="0" />
    <script>       
        
        $(function () {
            setupJqueryUIUse();

            //タブ設定(上側メイン)
            $('#tabMain').tabs();
            var i = parseInt($("#<%=hdnTabIndex.ClientID%>").val())            
            $('#tabMain').tabs({                
                active: i,
            });

            //タブ設定(下側サブ)
            $('#tabSub').tabs();
            i = parseInt($("#<%=hdnTabIndex2.ClientID%>").val())
            $('#tabSub').tabs({
                active: i,
            });
            
        });
        //JQuery関係デフォルトセット
        function setupJqueryUIUse() {

            //上部メインタブ(請求)設定
            $("#tabMain").bind('tabsactivate', function (event, ui) {
                // クリックされたタブのインデックス
                // インデックスは 0 から始まるので + 1
                var i = ui.newTab.index();
                $("#<%=hdnTabIndex.ClientID%>").val(i);
            });
            $("#tabSub").bind('tabsactivate', function (event, ui) {
                // クリックされたタブのインデックス
                // インデックスは 0 から始まるので + 1
                var i = ui.newTab.index();
                $("#<%=hdnTabIndex2.ClientID%>").val(i);
            });            
        }
        
    </script>
</asp:Content>
