如何在sqlserver数据库中存储和检索pdf文件? [英] How to store and retrieve pdf files in sqlserver database...?

查看:515
本文介绍了如何在sqlserver数据库中存储和检索pdf文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在我的应用程序中,有两个".PDF"文件.我想将其存储在数据库中.

在我的应用程序中,有两个按钮".

当单击第一个按钮"时,打开一个".PDF"文件,然后单击第二个按钮",另一个".PDF"文件应打开.


请帮帮我

预先感谢.

Hi,

In my application two ".PDF" files are there. i want to store it in database.

and in my application two "Buttons" are there.

when the click on "first button", one ".PDF" file is open & we click on "Second button" another ".PDF" file should be open.


Please help me

Thanks in advance.

推荐答案



我不确定这是否有帮助,但是如果您要将PDF存储在数据库中,则可能希望通过将其存储为Bytes数组来进行尝试.确实存在第三方插件",可以帮助您执行此操作,然后将文件还原回PDF.

希望这会有所帮助

Laurence
Hi,

I''m not completely sure if this is helpful, but if you want to store a PDF in a DB, you may want to try it by storing it as an array of Bytes. Third party ''plugins'' do exist which will help you do this and then restore the file back into PDF.

Hope this helps

Laurence


Google的第一个结果
The first result from the google search [^]is good enough to start


这篇关于如何在sqlserver数据库中存储和检索pdf文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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