如何在网络浏览器中打印多个Excel工作表 [英] How to print multiple excel sheets in a web browser
本文介绍了如何在网络浏览器中打印多个Excel工作表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
1)当存在多个在Web浏览器中显示信息的工作表时,如何使用(excelReader)在页面中打印" excel.使用excel2003.
2)从第一张纸到浏览器显示第一行数据,该行数据将插入到数据库中,然后在浏览器中显示下一行.
1)how to "print" excel in a page using (excelReader) when there''s more than one sheet with showing information in a web browser.Using excel2003.
2)Showing the first row of data from first sheet to the browser , the row of data will be insert into the database after that show the next row in the browser.
推荐答案
确定.我已经在Web浏览器中打印"多个Excel工作表中找到了解决方案.这是代码::
OK. I had found the solution in "print" multiple excel sheet in a web browser. here are the code ::
<html><br />
<head><br />
<style type="text/css"><br />
table {<br />
border-collapse: collapse;<br />
} <br />
td {<br />
border: 1px solid black;<br />
padding: 0 0.5em;<br />
} <br />
</style><br />
</head><br />
<body><br />
include ''reader.php'';<br />
excel =新的Spreadsheet_Excel_Reader();< br/> ?>< br/> < br/> < br/> 第1页:< br/>< br/>< br/> < table>< br/> < br/>
excel = new Spreadsheet_Excel_Reader();<br /> ?><br /> <br /> <br /> Sheet 1:<br /><br /><br /> <table><br /> <br />
excel-> read(''example.xls''); < br/>
excel->read(''example.xls''); <br />
这篇关于如何在网络浏览器中打印多个Excel工作表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文