print2.aspx 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <%@ Page Language="C#" Debug=true EnableEventValidation="false" AutoEventWireup="true" CodeFile="print2.aspx.cs" Inherits="print2" %>
  2. <%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <title>广东松山职业技术学院督导教学评价系统-by LiuYouSheng</title>
  7. <script language="javascript">
  8. function preview() {
  9. bdhtml = window.document.body.innerHTML;
  10. sprnstr = "<!--startprint-->";
  11. eprnstr = "<!--endprint-->";
  12. prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17);
  13. prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr));
  14. window.document.body.innerHTML = prnhtml;
  15. window.print();
  16. //prnform.htext.value=prnhtml;
  17. //prnform.submit();
  18. //alert(prnhtml);
  19. }
  20. </script>
  21. <style type="text/css">
  22. table {
  23. width: 800px;
  24. height: 1100px;
  25. table-layout:fixed;
  26. empty-cells:show;
  27. border-collapse:collapse;
  28. margin:0 auto;
  29. border:2px solid #000033;
  30. color:#666;
  31. font-size:13px;
  32. }
  33. #WebBrowser
  34. {
  35. height: 1px;
  36. width: 3px;
  37. }
  38. .table_tr1 {
  39. border-bottom-style: none;
  40. border-top-width: 1px;
  41. border-right-width: 1px;
  42. border-bottom-width: 1px;
  43. border-left-width: 1px;
  44. }
  45. </style>
  46. <body>
  47. <form id="form1" runat="server">
  48. <div align="center">
  49. <OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2>Der5435</OBJECT>
  50. <input type="button" name="print" value="预览并打印" onclick="preview()">
  51. <input onclick="document.all.WebBrowser.ExecWB(7,1)" type="button" value="打印预览" />
  52. <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text="Button" />
  53. <!--startprint-->
  54. <div style="margin: 0 auto;" id="mainContent">
  55. <p align=center style='text-align:center'><b><span style='font-size:14.0pt;font-family:黑体'>教学督导记录</span></b></p>
  56. <table align="center" border=1 cellspacing=0 cellpadding=0>
  57. <tr height="30">
  58. <td width="110"><p style='text-align:center'>姓名(督导)</p></td>
  59. <td width="160"><asp:Literal ID="DDXM" runat="server"></asp:Literal></td>
  60. <td width="110"><p style='text-align:center'>督导时间</p></td>
  61. <td width="160" colspan=2><asp:Literal ID="ZJ" runat="server"></asp:Literal></td>
  62. <td width="110"><p style='text-align:center'>督导地</p></td>
  63. <td width="150" colspan=2><asp:Literal ID="DD" runat="server"></asp:Literal></td>
  64. </tr>
  65. <tr height="30">
  66. <td width="110"><p style='text-align:center'>教师姓名</p></td>
  67. <td width="160"><asp:Literal ID="JSXM" runat="server"></asp:Literal></td>
  68. <td width="110"><p style='text-align:center'>授课班级</p></td>
  69. <td width="160" colspan=2><asp:Literal ID="BJ" runat="server"></asp:Literal></td>
  70. <td width="110"><p style='text-align:center'>课程名称</p></td>
  71. <td width="150" colspan=2><asp:Literal ID="KM" runat="server"></asp:Literal></td>
  72. </tr>
  73. <tr height="30">
  74. <td width="110"><p style='text-align:center'>所在部门</p></td>
  75. <td width="160"><p style='text-align:center'><b>SZBM
  76. <asp:Literal ID="XB" runat="server"></asp:Literal>
  77. </b></p></td>
  78. <td width="110"><p style='text-align:center'>星期</p></td>
  79. <td width="80"><asp:Literal ID="XQ" runat="server"></asp:Literal></td>
  80. <td width="80"><p style='text-align:center'>节次</p></td>
  81. <td width="110"><asp:Literal ID="JC" runat="server"></asp:Literal></td>
  82. <td width="80"><p style='text-align:center'>评分</p></td>
  83. <td width="70"><asp:Literal ID="PF" runat="server"></asp:Literal></td>
  84. </tr>
  85. <tr height="220">
  86. <td width="100%" colspan=8 align="left" valign="top"><p ><span style='font-size:14px'><b>督导情况记录</b></span></p></td>
  87. </tr>
  88. <tr height="30">
  89. <td colspan=2 align="left" valign="middle" ><b>督导签名:</b><asp:Literal ID="ZJ1" runat="server">XXXXXXXXXXX</asp:Literal></td>
  90. <td colspan=6 align="right">年&nbsp;&nbsp;&nbsp;&nbsp; 月&nbsp;&nbsp;&nbsp;&nbsp; 日</td>
  91. </tr>
  92. <tr height="150">
  93. <td width="100%" colspan=8 align="left" valign="top"><p ><span style='font-size:10.5pt'><b>督导建议和意见:</b></span><asp:Literal
  94. ID="PJ" runat="server"></asp:Literal></p>
  95. </td>
  96. </tr>
  97. <tr height="30">
  98. <td colspan=2 align="left" valign="middle" ><b>督导签名:</b><asp:Literal ID="ZJ3" runat="server">XXXXXXXXXXX</asp:Literal></td>
  99. <td colspan=6 align="right">年&nbsp;&nbsp;&nbsp;&nbsp; 月&nbsp;&nbsp;&nbsp;&nbsp; 日</td>
  100. </tr>
  101. <tr height="10">
  102. <td width="100%" colspan=8 ></td>
  103. </tr>
  104. <tr height="10">
  105. <td width="100%" colspan=8></td>
  106. </tr>
  107. <tr height="160">
  108. <td width="100%" colspan=8 align="left" valign="top"><p ><span style='font-size:14px'><b>督导建议和意见(此栏反馈给督导对象):</b></span></p>
  109. AAA<asp:Literal ID="PJ0" runat="server"></asp:Literal></td>
  110. </tr>
  111. <tr height="30">
  112. <td colspan=2 align="left" valign="middle" ><b>督导签名:</b><asp:Literal ID="ZJ2" runat="server">XXXXXXXXXXX</asp:Literal></td>
  113. <td colspan=6 align="right">年&nbsp;&nbsp;&nbsp;&nbsp; 月&nbsp;&nbsp;&nbsp;&nbsp; 日</td>
  114. </tr>
  115. </table>
  116. </div>
  117. <!--endprint-->
  118. </div>
  119. </form>
  120. </body>
  121. </html>