| Author: Vimal Verma 04 Aug 2008 | Member Level: Gold | Rating: Points: 5 |
Hi
it is not possible to store the text with image in DB as in DB bit information for the image will be stored , the solution will be as follow :
1. Make 2 tables , one for storing the image and another one for storing the comments associated with it. 2. store the image in DB in bit format. 3. store the text associated with this image in 2nd table, the structure of second table shd be like imageId,text 4. while reterving get the image information from the first table and get the text information from the 2nd table.
Cheers Vv
|