|
Subject:
|
Displaying an image from database table
|
|
Posted By:
|
Essien
|
Post Date:
|
1/4/2006 10:45:48 AM
|
Please am having a little problem displaying an image on a VB.Net form. Am able to save the path of an image to SQL Server 2000 database table. My problem is displaying an image in a PictureBox from the database. What property of the Picturebox do I need to set to point to the field that contains the image path in the database? Is there any way the image property be binded to the image field in the database? Or what codes do I need to write to do this? I have a textbox that displays the image path from the database which I hope to make invisible as soon as the PictureBox starts working. How do I wire up the PictureBox to this textbox?
Thanks.
|
|
Reply By:
|
wb8bgy
|
Reply Date:
|
1/4/2006 2:40:37 PM
|
Hi there:
I had a lot of trouble at first with the same situation. I found all the answers in the VB5 Help System. (Click on the magnifying glass under help to search)
Go there and search for "Add a picture to a form" and you will come up with a many pages of "how to do it" from several different prospectives.
A couple of the examples walk you thru the whole process.
Take care, George Race
|