Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 1st, 2007, 02:14 PM
jia jia is offline
Registered User
Join Date: Jul 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to display images embedded in a database .

i m tryin 2 make a online book selling website. i hav different pics of different books which i hav embedded wid d book's name in a database. my problem is tht when the asp.net page retrieves the book names from the database,it does not retrieve d book's pic. how do i handle this

i hope now i hav made my problem clear.

Old August 1st, 2007, 03:10 PM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

Is the image stored a a byte array in the database or are you just storing the path to the image in the database?

================================================== =========
Read this if you want to know how to get a correct reply for your question:
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========
Old August 1st, 2007, 03:58 PM
Authorized User
Join Date: Jun 2007
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hericles

You may find it easier to store the file name of image in the database and store the actual image elsewhere. You can then retrieve the filename and place in the image URL. I've done that on several database driven websites without any trouble.


"I will prepare and one day my chance will come."

Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Images from and Save Images to a Database cyndie VB.NET 2 August 17th, 2008 06:42 AM
displaying images embedded in database jia ASP.NET 1.0 and 1.1 Basics 1 July 5th, 2007 07:06 AM
Error on Excel Pivotchart embedded images. tortugo Excel VBA 0 March 15th, 2006 12:30 PM
Getting images embedded in Word aniket123 Word VBA 0 February 27th, 2006 06:24 AM
Exporting reports with embedded images KARENM Access VBA 5 August 8th, 2003 10:39 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.