Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Passing a query string value retrieved to an ImageUrl attribute of an image control using asp.net c#
Ikram Shams
Jul 11 2012 7:38 AM
5.5k
Reply
I have a page called DisplayImage and within the page_load event i was able to retrieve some
values from the query string
hcode=Request.Querystring["ccode"].Tostring();
Now,
hcode="6699FD";
However i want to pass the value of
6699FD
to another page to run a process and return a byte image
<asp:Image ID="img1" runat="server" ImageUrl="~/RetrieveImage.aspx?ID="
6699FD
/>
How can I pass the value of
6699FD
as a parameter to my Imageurl so that i can use it to retrieve my image.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
how to make Web Page less Refreshable
how can make multi bar report