Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
PaulNeil
Starting Member
9 Posts |
Posted - 2007-06-17 : 02:01:48
|
Hi,I am new to SQL Server and I have got this problem and I am wondering if anyone could provide me with a solution, please.I created a Product database table using Visual Basic 2005 Express and SQL Server 2005 Express. I have just added a new column [Picture] with IMAGE datatype to the database table, which of course, should store an image or picture of a product. I am writing to kindly ask you guys for help.i) How do I store a picture or image for each record of this column [Picture] of database table? I have tried and all that I can see is < binary data > in the picture column, and when I start the VB 2005 Express form is a blank picture box! ii) How do I get this image to display on Visual Basic 2005 Express form, so that when a product is selected the product image is displayed too? All text data appears but not the picture!Your help much appreciated. Thanks.Paul |
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2007-06-17 : 02:23:44
|
Storing images in a database is a bad design, read up on BLOB or do a search on it, many examples in this forum |
 |
|
Kristen
Test
22859 Posts |
Posted - 2007-06-18 : 04:25:36
|
See: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=Images,Image |
 |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|