单击链接按钮时显示Excel手动 [英] Display Excel Manual when i click on Link Button

查看:85
本文介绍了单击链接按钮时显示Excel手动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,





目前我正在将Excel数据插入到SQL DB中。现在,我想要的是我想要显示 Excel手册。当我点击LinkBut​​ton我想显示Excel手册...



请提供有关此概念的链接



怎么做..



任何关于此的帮助..



感谢Advnace ..

Hi Everyone,


Currently i''m doing Excel data inserted into SQL DB. Now, what i want is i want to display Excel Manual. When i click on LinkButton i want to Display Excel Manual...

Please provide the links about this concept

How to do this ..

Any help regarding this ..

Thanks in Advnace..

推荐答案





参考这些链接。



http: //www.c-sharpcorner.com/UploadFile/0c1bb2/uploading-and-downloading-excel-files-from-database-using-as/ [ ^ ]

http://stackoverflow.com/questions/8166205 / mime-type-for-excel-xml-asp-net-3-5 [ ^ ]

http://stackoverflow.com/questions/6878525/asp-net-excel-文件下载按钮单击 [ ^ ]

http://stackoverflow.com/questions/10628136/download-excel-file-from-asp-net-page-without-generating-physical-file -on-server [ ^ ]



希望它有所帮助。
Hi,

refer these links.

http://www.c-sharpcorner.com/UploadFile/0c1bb2/uploading-and-downloading-excel-files-from-database-using-as/[^]
http://stackoverflow.com/questions/8166205/mime-type-for-excel-xml-asp-net-3-5[^]
http://stackoverflow.com/questions/6878525/asp-net-excel-file-download-on-button-click[^]
http://stackoverflow.com/questions/10628136/download-excel-file-from-asp-net-page-without-generating-physical-file-on-server[^]

hope it helps.


我假设您正在使用Web应用程序请求链接...

将您的Excel手册文件放在您的网站项目中(让我们在一个名为''Manuals''的文件夹中),在您的解决方案资源管理器上点击''显示所有文件'',然后导航到您的文件,然后右键单击它并选择''包含在项目中',再次右键单击并单击属性。在属性对话框中,单击复制如果更新而不是不复制。

此时,您的手册将与部署文件一起复制。



现在,您可以在网页上输入
I assume you are working in a web application as you are asking for a link...
Place your excel manual file in your website project (let''s say in a folder called ''Manuals''), on your solution explorer click on ''show all files'', then navigate to your file, then right click on it and select ''Include in Project'', right click again and click on properties. In the Properties dialog box you click ''Copy if newer'' instead of ''Do not copy''.
At that point your manual will be copied with your deployment files.

Now on your webpage you can put a link like
<a href="/Manuals/filename">Download excel </a>





应该都很好......



Should be all good...


http://www.aspdotnet-suresh.com/2011/04/how-to-export-gridview-data-to-excel -or.html [ ^ ]


这篇关于单击链接按钮时显示Excel手动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆