2
Reply

Can anybody help me to solve this?

Sapna

Sapna

Aug 5 2010 7:14 AM
13.4k
I create a table "EmployeeProfile" in SQL and insert an image into that table as Employee Photo see below the complete query:

Insert EmployeeProfile (EmpId, EmpName, EmpPhoto)
Select 1001, 'Vadivel',
BulkColumn from Openrowset( Bulk 'D:\Image\VD.bmp', Single_Blob) as EmployeePicture
select * from EmployeeProfile

RESULT:

blo4.gif
You can see that the image is store in the form of HEX data now I want  to see this image in VB.NET. Can anybody help me to do that.

Answers (2)