Solved

get image url from database asp.net VB

Posted on 2010-09-19
2
585 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now