开发者

How to assign Bitmap to ImageControl

I am trying to bind image to image control, but image is bitm开发者_如何学Cap data. How can I?


Do you mean that you have an image as binary data and you want to display it without saving it in a file? If yes, then one solution will be to create a separate aspx page or an http handler to return the image. You need to set the content type and length accordingly and use Response.BinaryWrite for serving the image.

See here for some more suggestions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜