在ASP.NET中怎么实现打印功能(我用的是C#),需要具体的代码
来源:百度知道 编辑:UC知道 时间:2024/09/27 05:51:36
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT>
<input type=button value=打印 onclick=document.all.WebBrowser.ExecWB(6,1)>
<input type=button value=直接打印 onclick=document.all.WebBrowser.ExecWB(6,6)>
<input type=button value=页面设置 onclick=document.all.WebBrowser.ExecWB(8,1)>
<input type=button value="打印OK" onclick=" return myprint(this);">
<input type=button value=打印预览 onclick=document.all.WebBrowser.ExecWB(7,1)>
<script>window.print();</script>
http://www.zu14.cn/
你可以导出EXCEL,让他爱咋咋地!
用报表吧,导出再打印
难