Importing Blob Data into SQL Server 
Author Message
 Importing Blob Data into SQL Server

How do you import a graphics file using VB.net into an
image field in SQL Server? MSDN has a VB6 example
entitled 'Return of the BLOB' but I am unsuccessful
converting this to .Net!


Mon, 12 Jul 2004 23:08:26 GMT  
 Importing Blob Data into SQL Server
Hi, Zakzak,

Quote:
> How do you import a graphics file using VB.net into an
> image field in SQL Server?

http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=127 explains how to
get images into a database.

http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=137 shows how to get
the image back out.

Both of these samples use the OleDB classes, but should be easy to modify to
use SqlClient classes.

Ian.



Tue, 13 Jul 2004 01:45:32 GMT  
 Importing Blob Data into SQL Server
Many Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Tue, 13 Jul 2004 17:13:12 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. how to show progressbar when insert BLOB binary data into SQL-Server

2. read blob data from sql server ce database in pocket pc

3. Newbie: Script for Importing Fixed length data To SQL Server

4. importing and exporting data using sql server and vb

5. Import Excel data to SQL Server table from VB

6. Import xls file into SQL Server using VBscript and exe function on remote server

7. Import text file in SQL Server 6.5 via SQL in Visual Basic

8. Import text file in SQL Server 6.5 via SQL in Visual Basic

9. Help needed : VB/SQL Server : BLOB Object

10. blobs from sql server

11. MS SQL Server BLOBS, RDO and Stored Procedures

12. Saving a blob into SQL Server

 

 
Powered by phpBB® Forum Software