Load image from database

  • Thread starter Thread starter Beruang
  • Start date Start date
B

Beruang

Hi,

How to load image from database MS SQL Server into
PictureBox if I have Table called Student(StudID, Name,
StudImage)

StudImage data types is Image.
Thanks
 
Beruang said:
How to load image from database MS SQL Server into
PictureBox if I have Table called Student(StudID, Name,
StudImage)

If you store the images as a BLOB:

HOW TO: Read and Write a File to and from a BLOB Column by Using ADO.NET and
Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;316887>

HOW TO: Read and Write a File to and from a BLOB Column by Using Chunking in
ADO.NET and Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;317034>
 
Back
Top