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" />
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"
page:
<asp:Image ID="slide1" runat="server" />
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
what is reader_slides ?