ASP.NET [Image Handler]

I’m still trying to load my image from database.
But that’s not so easy with my skins to understand the shots :
Using Handler
I read this stuff and was on trying to make it but I found only one method :
Mapping some my page (in webconf) to this handler (ashx)

I need to use it in my page in my

and Thank you.

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

it’s pretty straight forward and has been answered before.

Dynamically Rendering asp:Image from BLOB entry in ASP.NET

where most novices get confused is that the image data is never assigned to any property of the asp.net image control. instead the src of the image is assigned to the url of the image handler. The image handler then writes the data to the response via Response.Write().


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x