大家一般用什么做报表和打印啊?
最好是客户端不需要安装插件的

解决方案 »

  1.   

    <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)> 
    JS打印 水晶报表。
      

  2.   

    报表的话有.NET自带的水晶报表,另外可用ReportingService来处理报表,实用又漂亮!
    不许要安装空间的话直接JS-》window.print();
    建议还是安装空间吧,因为客户端情况复杂,这种JS不能满足需求,建议第三方控件:lodop打印控件。
      

  3.   


    这种方式好像在IE6是可以的 但是IE8中是报错的!希望有更好的解决办法,期待
      

  4.   

    有没有水晶报表入门的资料?我测试了一下,不知道怎么显示数据
    我是先新建了一个CrystalReport.rpt,空的数据源
    然后在页面里建了一个CrystalReportViewer,<Report FileName="CrystalReport2.rpt">,然后代码里把一个Table赋值给CrystalReportViewer1.ReportSource这样对吗?