Display Image using ashx Handler

前端 未结 3 577
[愿得一人]
[愿得一人] 2020-12-02 00:33

I have the following image in my aspx page


 \" 


         


        
3条回答
  •  伪装坚强ぢ
    2020-12-02 01:11

    Try setting the ContentType:

    context.Response.ContentType = "image/png";
    

    http://www.dotnetperls.com/ashx

提交回复
热议问题