如何通过从记事本或excel读取数据来生成html报告 [英] How to generate html report by reading data from notepad or excel
本文介绍了如何通过从记事本或excel读取数据来生成html报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们在记事本中有数据。我想从记事本/ excel中读取数据,我想在html中生成报告的网格格式。
任何人都可以帮助我。通过展示一些例子..因为我是初学者..这将是有帮助的。
we have a data in notepad. i want to read the data from notepad/excel and i want to generate grid format of report in html.
can anyone please help me out. by showing some examples.. as i am beginner.. that would be helpful.
推荐答案
如果数据在Excel中,您只需将其保存为HTML。如果数据在记事本中,则需要将表标记放在自己中或获取程序来为您完成。如果您是开发人员,则可以使用您选择的语言来阅读文本文件,添加相应的HTML标记,并将结果另存为HTML文件。例如,这是Stack Overflow codegolf问题。这是链接(带有工作示例):
http://stackoverflow.com/questions/966889/codegolf-convert-csv-to-html-table-with-smallest-代码数量急剧增加 [ ^ ]
If the data is in Excel, you can simply save it as HTML. If the data is in Notepad, you will need to put the table tags in yourself or get a program to do it for you. If you are a developer, you could use the language of your choice to read the text file, add in the appropriate HTML tags, and save the results as a HTML file. For instance, this was a Stack Overflow codegolf question. Here is the link (with working examples):
http://stackoverflow.com/questions/966889/codegolf-convert-csv-to-html-table-with-smallest-amount-of-code-in-c-sharp[^]
转到记事本或Excel - >档案 - >生成
Go to Notepad or Excel -> File -> Generate
Quote:
: - D :-D :-D
:-D :-D :-D
这篇关于如何通过从记事本或excel读取数据来生成html报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文