Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Assigning an image object to a html tag

 
raghav rao
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i have an c# function which returns an image . I need to assign this image to html image tag , to display the image on a page.
Normally i would use < img src= " ...URL "> , but here i donot have a URL . i have to assign it to an .NET function , which returns an image.

Any help is greatly appreciated
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
raghav rao wrote:but here i donot have a URL .

Then you need to create one! Write the .Net equivalent of a servlet that returns the image.
 
raghav rao
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf , thanks for your reply

I cant think of an servlet equivalent in c# .
Can you be more specific please?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't, since I'm not familiar with ASP.Net. But I'm sure it can handle binary content. That question would be better suited for a .Net forum.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic