Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > BOOK: Beginning ASP.NET 2.0 and Databases
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 2.0 and Databases
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 and Databases by John Kauffman, Bradley Millington; ISBN: 9780471781349
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 and Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 19th, 2006, 05:30 AM
Registered User
 
Join Date: Oct 2006
Location: Dublin, , Ireland.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Metalore
Default Displaying Images From Database

Hi All,

Hopefully someone may know a solution or workaround to my problem...

I'm saving an image to my database in sql server 2005 express. I want to be able to display the image on a page, and I am using the response.writebinary function to do this. It's working fine however I also have other information (text) on the page (same page as the image is being written to) which is not being displayed. When I comment out the the response.writebinary line the other information is displayed.

Anyone know of a way to display both image and text on the page please??

Thanks in advance,

Tony

  #2 (permalink)  
Old November 1st, 2006, 11:45 AM
Registered User
 
Join Date: Oct 2006
Location: Dublin, , Ireland.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Metalore
Default

Found a workaround to my problem, all working well now :)

Am outputting the image to a random page that the user does not see, and using that page as the img src for displaying my image alongside the text on the other page.

This seems to be the only way to do it, and required a lot of changes to my code to get it working.

Anyone have any issues then please post / mail etc and I should be able to give some advice.

Regards,

Tony

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing images in Database and displaying them Manoj Bisht ASP.NET 1.x and 2.0 Application Design 4 February 6th, 2010 03:06 AM
displaying images chandan121 JSP Basics 0 May 1st, 2008 09:59 PM
displaying images embedded in database jia ASP.NET 1.0 and 1.1 Basics 1 July 5th, 2007 07:06 AM
Displaying images inbox Classic ASP XML 2 May 4th, 2005 03:08 AM
Displaying images from database in Crystal Report gp_mk Crystal Reports 7 September 7th, 2004 11:54 PM



All times are GMT -4. The time now is 01:38 PM.


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