<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Duty.aspx.cs" Inherits="TEC_Duty" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<%--<script language="javascript" type="text/javascript" >
    
</script>--%>
<%--<head>
<style media=print type="text/css">   
 .Noprint {display:none;}   
 </style>  
  
 <script>   
 var tag = 'H1';                   // 內定以標籤<H1>為分頁開頭   
 function printpage(tag){   
    var coll = document.all.tags(tag);   
    for (i=1; i<coll.length; i++) {  // i從1開始，否則會多出空白的第1頁   
        if (event.srcElement.checked) coll(i).style.pageBreakBefore = "always";   
        else coll(i).style.pageBreakBefore = "auto";   
    }   
 }   
 </script>   
 </head>   
    
 <body>   
 <span class=Noprint>   
 <object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>   
 <A HREF=# onclick="javascript:WebBrowser.ExecWB(6,1)">設定印表機</A>   
 <A HREF=# onclick="javascript:WebBrowser.ExecWB(7,1)">預覽列印</A>   
 <A HREF=# onclick="javascript:WebBrowser.ExecWB(8,1)">設定列印</A>   
 <input type="checkbox" onclick="printpage('H1')">設定換頁列印   
 </span>   --%>


<%--<span id="bar" style="position:absolute; left:140px; top:455px; width:614px; height:45px; z-index:9" > 
<table border="1" hspace="1" cellpadding="1" bordercolor="#000000" bgcolor="#FFFFFF">
  <tr align="center" bgcolor="f1f1f1"> 
    <td width="120"> <a href=''>Link 1</a></td>
    <td width="120"> <a href=''>Link 2</a></td>
    <td width="120"> <a href=''>Link 3</a></td>
    <td width="120"> <a href=''>Link 4</a> 
    </td>
  </tr>
</table>
</span> --%>
<table width="830px"><tr><td NoWrap="noWrap" style="height: 10px">
    <asp:Label ID="lblDate" runat="server" Text="<%$ Resources: Universal, Comm_Date %>"></asp:Label>
    <asp:TextBox ID="txtDate" runat="server" Width="60px"></asp:TextBox>
    <asp:Button ID="btnSearch" runat="server" Text="<%$ Resources: Universal, Data_Search %>" />
</td><td align="right">
    <table id="tblComment" runat="server">
        <tr>
            <td width="15px">&nbsp;</td><td></td>
            <td width="15px">&nbsp;</td><td></td>
            <td width="15px">&nbsp;</td><td></td>
            <td width="15px">&nbsp;</td><td></td>
            <td width="15px">&nbsp;</td><td></td>
        </tr>
    </table>
</td></tr>
<tr><td colspan="2">
    <asp:Panel ID="Panel1" runat="server" Wrap="false" ScrollBars="horizontal" BorderWidth="0" Width="830px" style="margin-left: 0px;">
    <table cellpadding="0" cellspacing="0"><tr><td id="headerWidth" style="position: fixed; width: 50; height: 19px;">
        <table id="tblTitle" runat="server" cellpadding="1" cellspacing="1" style="position:relative; left:0px; top:0px; background-color: White; font-size:xx-small;">
        </table>
    
    </td><td style="height: 19px">
        <table id="tblContents" runat="server" cellpadding="1" cellspacing="1" style="empty-cells:show; border-width:thick; border: Red;" >
        </table>
        
    </td></tr></table>
    </asp:Panel>
</td></tr></table>
</asp:Content>

