This is a migrated thread and some comments may be shown as answers.

how to get image for asp.net image control from url in string format???

1 Answer 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Giri
Top achievements
Rank 1
Giri asked on 25 Jun 2012, 12:09 PM
select ImageURL from [User] where UserName=@UserName and Password=@Password

ImageURL   this is in string format having url of the image ...

in page_load event how to take image from that url and shown into my web page??

i got the url from database  after that i dont know how to do take image from url and display???


please help me friend... u no need to do database just take image from that url and display in ur web page using asp.net image control friend...

please provide ur codings

1 Answer, 1 is accepted

Sort by
0
James Campbell
Top achievements
Rank 1
answered on 25 Jun 2012, 01:21 PM
Giri ,

You can use an image handler:

http://www.dotnetperls.com/ashx

http://www.codeproject.com/Articles/34084/Generic-Image-Handler-Using-IHttpHandler

http://imagehandler.codeplex.com/


Any questions let me know.

If this helped answer your question, please marked this question as answered.

Thank you,
James Campbell

Tags
General Discussions
Asked by
Giri
Top achievements
Rank 1
Answers by
James Campbell
Top achievements
Rank 1
Share this question
or