css控制head区域加入
<style media="print"> .Noprint { DISPLAY: none } .PageNext { PAGE-BREAK-AFTER: always } </style><table class="Noprint" >
<tr><td>这里不打印</td></tr>
</table><table >
<tr><td>这里要打印</td></tr>
</table>
<style media="print"> .Noprint { DISPLAY: none } .PageNext { PAGE-BREAK-AFTER: always } </style><table class="Noprint" >
<tr><td>这里不打印</td></tr>
</table><table >
<tr><td>这里要打印</td></tr>
</table>
解决方案 »
- 从Access数据库中读取数据显示在相应comboBox中和更改其值写入数据库
- 如何选择虚拟服务器
- 求一个高仿DZ论坛又下角弹出窗口实例
- 如何将IP地址后面的三位或二位替换?
- 问一下一般公司网站制作的费用(asp.net做)
- 网页打开的快慢
- ________关于动态横向菜单的请教,谢谢各位前辈
- 关于类型转换的问题~高手有空就请进来看一下!
- 各位大侠来看看,有个问题不知道怎么解决。-如何在DataGrid中绑定drpDowndlist
- [高手请进]Excel难题
- 急(在线等待)
- 我将表中ID绑定到DataList中的一label,设id为mid,为什么((Label)e.Item.FindControl("mid")).Text得不到其值呢
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="rpt-test.aspx.vb" Inherits="QdhAdmin.rpt_test"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>rpt_test</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<table class="Noprint">
<tr>
<td>测试
</td>
</tr>
</table>
<form id="Form1" method="post" runat="server">
<CR:CrystalReportViewer id=CrystalReportViewer1 style="Z-INDEX: 101; LEFT: -217px; POSITION: absolute; TOP: 3px" runat="server" Width="1004px" Height="1095px" ReportSource='<%# "C:\Inetpub\wwwroot\qdhadmin\dayin-test1.rpt" %>' DisplayToolbar="False">
</CR:CrystalReportViewer>
<asp:Button id="Button1" style="Z-INDEX: 102; LEFT: 559px; POSITION: absolute; TOP: 19px" runat="server" Width="57px" Text="打印"></asp:Button>
</form>
</body>
</HTML>