123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- <%@ Page Language="C#" Debug=true EnableEventValidation="false" AutoEventWireup="true" CodeFile="Print.aspx.cs" Inherits="Print" %>
- <%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title></title>
- <script language="javascript">
- function preview() {
- bdhtml = window.document.body.innerHTML;
- sprnstr = "<!--startprint-->";
- eprnstr = "<!--endprint-->";
- prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17);
- prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr));
- window.document.body.innerHTML = prnhtml;
- window.print();
- //prnform.htext.value=prnhtml;
- //prnform.submit();
- //alert(prnhtml);
- }
- </script>
- <style type="text/css">
- table {
- font-size: 14px;
- color: #063E7B;
-
- }
- .Input3 {
- font-family: "宋体";
- font-size: 9pt;
- color: #0066CC;
- text-decoration: none;
- border-top-width: 1px;
- border-right-width: 1px;
- border-bottom-width: 1px;
- border-left-width: 1px;
- border-top-style: solid;
- border-right-style: solid;
- border-bottom-style: solid;
- border-left-style: solid;
- border-top-color: #FFFFFF;
- border-right-color: #FFFFFF;
- border-bottom-color: #0066CC;
- border-left-color: #FFFFFF;
- }
- input {
- background-color: #EEFAFF;
- border-top-color: #C6DCFB;
- border-right-color: #C6DCFB;
- border-bottom-color: #C6DCFB;
- border-left-color: #C6DCFB;
- border-top-style: solid;
- border-right-style: double;
- border-bottom-style: double;
- border-left-style: solid;
- }
- Select {
- font-family: "Tahoma", "宋体";
- font-size: 9pt;
- color: #0066cc;
- border: 1px #c8e4ff solid;
- background-color: #e8f4ff;
- font-style: normal
- }
-
- #XQ
- {
- width: 148px;
- }
- #JC
- {
- width: 132px;
- }
- textarea{
- font-family: "Tahoma", "宋体";
- font-size: 9pt;
- font-color:#0066cc;
- color: #0066cc;
- background-color: #ffffff;
- font-style: normal;
- border-top: 1px solid #93BEE2;
- border-right: 1px solid #93BEE2;
- border-bottom: 1px solid #93BEE2;
- border-left: 1px solid #93BEE2;
- }
- #WebBrowser
- {
- height: 1px;
- width: 9px;
- }
- </style>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <div align="center">
- <OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2> </OBJECT>
- <input type="button" name="print" value="预览并打印" onclick="preview()">
- <input onclick="document.all.WebBrowser.ExecWB(7,1)" type="button" value="打印预览" />
-
-
- <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text="导出为WORD文档" />
- <!--startprint-->
- <div style="margin: 0 auto;" id="mainContent">
- <div class=WordSection1>
- <p align=center style='text-align:center'><b style='mso-bidi-font-weight:normal'><span style='font-size:14.0pt;font-family:黑体'>教学督导记录</span></b></p>
- <table align="center" border=1 cellspacing=0 cellpadding=0>
- <tr height="30">
- <td width="110"><p style='text-align:center'>姓名(督导)</p></td>
- <td width="160"><asp:Literal ID="DDXM" runat="server"></asp:Literal></td>
- <td width="110"><p style='text-align:center'>督导时间</p></td>
- <td width="160" colspan=2><asp:Literal ID="ZJ" runat="server"></asp:Literal></td>
- <td width="110"><p style='text-align:center'>督导地</p></td>
- <td width="150" colspan=2><asp:Literal ID="DD" runat="server"></asp:Literal></td>
- </tr>
-
- <tr height="30">
- <td width="110"><p style='text-align:center'>教师姓名</p></td>
- <td width="160"><asp:Literal ID="JSXM" runat="server"></asp:Literal></td>
- <td width="110"><p style='text-align:center'>授课班级</p></td>
- <td width="160" colspan=2><asp:Literal ID="BJ" runat="server"></asp:Literal></td>
- <td width="110"><p style='text-align:center'>课程名称</p></td>
- <td width="150" colspan=2><asp:Literal ID="KM" runat="server"></asp:Literal></td>
- </tr>
-
- <tr height="30">
- <td width="110"><p style='text-align:center'>所在部门</p>
-
-
- </td>
- <td width="110"> <asp:Literal ID="XB" runat="server"></asp:Literal></td>
- <td width="80"><p style='text-align:center'>星期<asp:Literal ID="XQ" runat="server"></asp:Literal></p></td>
- <td width="80"><p style='text-align:center'>节次</p></td>
- <td width="110"><asp:Literal ID="JC" runat="server"></asp:Literal></td>
- <td width="80"><p style='text-align:center'>评分</p></td>
- <td width="70"><asp:Literal ID="PF" runat="server"></asp:Literal></td>
- </tr>
-
- <tr height="250">
- <td width="100%" colspan=8 align="left" valign="top"><p ><span style='font-size:14px'><b>督导情况记录</b></span></p></td>
- </tr>
-
- <tr height="30">
- <td colspan=2 align="left" valign="middle" ><b>督导签名:</b><asp:Literal ID="DDXM1" runat="server"></asp:Literal></td>
- <td colspan=6 align="right"><asp:Literal ID="ZJ1" runat="server"></asp:Literal></td>
- </tr>
-
- <tr>
-
- <tr height="180">
- <td width="100%" colspan=8 align="left" valign="top"><p><span style='font-size:10.5pt'><b>督导建议和意见:</b></span><br />
- <asp:Literal ID="PJ" runat="server"></asp:Literal></p>
- </td>
- </tr>
-
- <tr height="30">
- <td colspan=2 align="left" valign=督导签名:</b><asp:Literal ID="DDXM2" runat="server"></asp:Literal></td>
- <td colspan=6 align="right"> <asp:Literal ID="ZJ2" runat="server"></asp:Literal></td>
- </tr>
-
- <tr height="10">
- <td width="100%" colspan=8 style="border-bottom-style: inset; border-bottom-width: 1px; border-bottom-color: #ECEFF0" >裁:裁</td>
- </tr>
- <tr height="10">
- <td width="100%" colspan=8> </td>
- </tr>
-
- <tr height="180">
- <td width="100%" colspan=8 align="left" valign="top"><p ><span style='font-size:14px'><b>督导建议和意见(此栏反馈给督导对象):见(此栏反馈给督导对象):</b></span></p>
-
- <asp:Literal ID="Literal3" runat="server"></asp:Literal></asp:Literal></td>
- </tr>
- <tr height="30">
- <td colspan=2 align="left" valign="middle" ><b>督导签名:</b><asp:Literal ID="Literal2" runat="server"></asp:Literal></td>
- <td colspan=6 align="right">年 月 日 </td>
- </tr>
- </table>
- </div>
- </div>
- <!--endprint-->
-
- </div>
- </form>
- </body>
- </html>
|