?
Solved

display binary image

Posted on 2012-09-13
2
Medium Priority
?
479 Views
Last Modified: 2012-09-19
i have stored image in my database as binary string. now i need to dynamically spit them out to literal control in asp.net page. can i achieve this? you know like
literal.text = <img src='" & ds.item("binarystring") & "' />" thank you
0
Comment
Question by:StewSupport
2 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 38396720
How large are the images? You might consider using a data URI.
0
 
LVL 84

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 total points
ID: 38396857
use an httphandler as shown in this webpage http://www.aspdotnetcodes.com/Insert_Images_Database.aspx
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question