Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

get image url from database asp.net VB

Posted on 2010-09-19
2
Medium Priority
?
615 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 2000 total points
ID: 33714897
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Loops Section Overview
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

824 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