Link to home
Start Free TrialLog in
Avatar of elliottbenzle
elliottbenzle

asked on

get image url from database asp.net VB

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" />
Avatar of Gautham Janardhan
Gautham Janardhan

can you post some more info ?
 what is reader_slides ?
ASKER CERTIFIED SOLUTION
Avatar of Kumaraswamy R
Kumaraswamy R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial