如何从SQL Server 2008检索和显示PDF [英] How to retrieve and display PDF from SQL Server 2008

查看:94
本文介绍了如何从SQL Server 2008检索和显示PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我将PDF文件存储在SQL Server 2008数据库中作为二进制数据类型。我需要帮助检索并在我的VB应用程序上显示它们。





我不知道如何做到这一点。

Hi everybody

I stored PDF files in my SQL Server 2008 database as Binary data type. I need help retrieving and displaying them on my VB application.


I have no clue on how to do this.

推荐答案

看看这里:

http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/008d0a0d-e75e-4d11-a89b-cbae4e086c23/ [ ^ ]

http://www.vbforums.com/showthread.php?656899-How-to-add-and-retrieve-PDF-files-to-MS-SQL-server-数据库 [ ^ ]

http://forums.asp.net /p/1166376/1941195.aspx [ ^ ]



pdf和图像之间没有区别。你需要逐字节读取;)
Have a look here:
http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/008d0a0d-e75e-4d11-a89b-cbae4e086c23/[^]
http://www.vbforums.com/showthread.php?656899-How-to-add-and-retrieve-PDF-files-to-MS-SQL-server-database[^]
http://forums.asp.net/p/1166376/1941195.aspx[^]

There is no difference between pdf and images. You need to read byte by byte ;)


这篇关于如何从SQL Server 2008检索和显示PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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