Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
my code:
INSERT into MyPDF(eCopy) 
VALUES(SELECT * FROM OPENROWSET(BULK 'C:\test.pdf', SINGLE_BLOB) As FS);


how can i retrieve this to show in vb form? thanks.

What I have tried:

In VB.NET, I successfully inserted the test PDF into MSSQL Server using varbinary(max) data type and enabled all file streaming requirement of MSSQL.
Posted
Comments
[no name] 1-Jul-21 17:10pm    
That's like showing an egg and asking for a chicken.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900