Insert EmployeeProfile (EmpId, EmpName, EmpPhoto)
Select 1001, 'Vadivel',
BulkColumn from Openrowset( Bulk 'D:\Image\VD.bmp', Single_Blob) as EmployeePicture
select * from EmployeeProfile
RESULT:
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.
hariomPosted Aug 30, 2010, 7:57 AM
You have to save only imagename in the table and save the image in other Image folder
so that when u want this image then pass the image path and image name only.
This may be help u.
Thanks
hariom
Baimey RajeshPosted Aug 5, 2010, 8:24 AM
The following code helps to read from a file I think the rest can be modified.
sample
End Using
Thanks
Paru
-- Mark if it helps