Solved

get image url from database asp.net VB

Posted on 2010-09-19
2
587 Views
Last Modified: 2012-05-10
Hi,

I have the url of an image stored in my database. How would I apply this URL to an asp:Image tag.

I was thinking something like this, but this doesn't seem to work, this code tells me that name slide1 isn't delared.

code behind:
slide1.ImageUrl = reader_slides.Item("slide").ToString()

page:
<asp:Image ID="slide1" runat="server" />
0
Comment
Question by:elliottbenzle
2 Comments
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 33710898
can you post some more info ?
 what is reader_slides ?
0
 
LVL 29

Accepted Solution

by:
Kumaraswamy R earned 500 total points
ID: 33714897
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 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