如何检索存储在SQL Server数据库中的pdf文件,并使用VB.NET在pdf viewer控件中查看它 [英] How do I retrieve a pdf file stored in SQL server database and view it in the pdf viewer control using VB.NET
本文介绍了如何检索存储在SQL Server数据库中的pdf文件,并使用VB.NET在pdf viewer控件中查看它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何检索存储在vb.net数据库中的pdf
我尝试了什么:
已尝试从字节数组中获取文件名但无法执行此操作
how do i to retrieve a pdf which is stored in the database in vb.net
What I have tried:
have tried out to get the file name from the byte array but unable to do so
推荐答案
假设你的pdf文件存储在BLOB字段中...
ASP片段:使用C#和VB.Net读取和写入BLOB数据到SQL Server数据库 [ ^ ]
读取和写入BLOB数据到Microsoft SQL或Oracle数据库 [ ^ ]
Assuming your pdf file is stored in BLOB field...
ASP snippets: Read and Write BLOB Data to SQL Server database using C# and VB.Net[^]
Reading and Writing BLOB Data to Microsoft SQL or Oracle Database[^]
这篇关于如何检索存储在SQL Server数据库中的pdf文件,并使用VB.NET在pdf viewer控件中查看它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文