I want to save my view result in web to excel and or PDF. I must show dialog save to make path and choose the file's extension to make file. I use asp.net, Could you help me how to do this?
我想将我的视图结果保存到excel和/或PDF。我必须显示对话框保存以制作路径并选择文件的扩展名来制作文件。我用asp.net,你能帮帮我怎么做吗?
2 个解决方案
#1
0
for pdf use this library wkhtmltopdf for excel use Microsoft.Office.Interop.Excel; if you problem with this library ask me.
for pdf使用此库wkhtmltopdf for excel使用Microsoft.Office.Interop.Excel;如果你对这个图书馆有疑问问我。
#2
0
Check with this i think this will help you Link
检查这个我认为这将帮助你链接
to export result to excel and or PDF
将结果导出为excel和/或PDF
#1
0
for pdf use this library wkhtmltopdf for excel use Microsoft.Office.Interop.Excel; if you problem with this library ask me.
for pdf使用此库wkhtmltopdf for excel使用Microsoft.Office.Interop.Excel;如果你对这个图书馆有疑问问我。
#2
0
Check with this i think this will help you Link
检查这个我认为这将帮助你链接
to export result to excel and or PDF
将结果导出为excel和/或PDF