我想在Asp.net中的图片框而不是图像控制 [英] I Want Picture Box in Asp.net not Image Control
本文介绍了我想在Asp.net中的图片框而不是图像控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想要在Asp.net中的图片框而不是图像控制。它可能。
I Want Picture Box in Asp.net not Image Control.is it possible.
推荐答案
图像被添加到带有服务器端图像控件或一个常规的html img标签。
Images are added to web forms with either a server side image control or a regular html img tag.
<asp:Image ID="Image1" runat="server" ImageUrl="yourImage.gif" />
<img alt="" src="yourImage.gif" />
不,甚至远程。您可以使用HTML来执行图片框在缩放图像时所执行的操作,但您不能在Web应用程序中使用winforms控件,图片框也不能为您提供任何想要的内容。
No, not even remotely. You can use HTML to do what a picture box does in scaling an image, but you can't use a winforms control in a web app, nor does the picturebox give you anything to make you want to.
>
这篇关于我想在Asp.net中的图片框而不是图像控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文