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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top