By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,654 Members | 1,513 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,654 IT Pros & Developers. It's quick & easy.

How do I code the src= for an image to pick up value passed in URL as request string?

P: n/a
I am trying to pass an image value from pageA.aspx to pageB.aspx. I am very new to and have successfully passed the image name in the URL as Printpage.aspx?Image=dsc00015-1.jpg

My question is that on PageB I would like to display dsc00015-1.jpg as an image. How to I extract this from the URL and code it in the src= of the image?
Nov 8 '10 #1
Share this Question
Share on Google+
1 Reply

P: 320
you pull the value out of the Request object

then set the ImageUrl property of your image
Nov 15 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Browse more Visual Basic .NET Questions on Bytes