从SQL数据库显示调整大小的图像 [英] Displaying resized image from sql database
本文介绍了从SQL数据库显示调整大小的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用它:
How to use this:
Response.ContentType = "image/gif";
bitmap.Save(Response.OutputStream, ImageFormat.Gif);
使用asp:Image..besides,我也想在Image控件中显示调整大小的位图.如何?
with asp:Image..besides i would also like to show resized bitmap in Image control.How to?
推荐答案
^ ]
但是如何显示位图在asp:图像控制?我尝试使用处理程序,但无法正常使用..
But how to display bitmap in asp:image control? I tryed with handler but i can''t get it to work..
这篇关于从SQL数据库显示调整大小的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文