如何将图像显示到asp.net的图像控件中。 [英] how to display image into image control of asp.net.

查看:73
本文介绍了如何将图像显示到asp.net的图像控件中。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以建议我如何在asp.net中将图像显示到图像工具箱控件中?

Can any one suggest me how to display image into image toolbox control in asp.net ?

推荐答案

imgPic.ImageUrl = Server.MapPath(〜/ Images /Background/add_male_user_256.png);



imgPic.ImageUrl = Server.MapPath(Image of Image);
imgPic.ImageUrl = Server.MapPath("~/Images/Background/add_male_user_256.png");

imgPic.ImageUrl = Server.MapPath("Path of Image");


http://www.w3schools.com/aspnet/control_image.asp [ ^ ]

http://go4answers.webhost4life.com/Example/display-image-aspnet-image-control-126691.aspx [ ^ ]

http://forums.asp.net/t/1608488.aspx/1 [ ^ ]
http://www.w3schools.com/aspnet/control_image.asp[^]
http://go4answers.webhost4life.com/Example/display-image-aspnet-image-control-126691.aspx[^]
http://forums.asp.net/t/1608488.aspx/1[^]


这篇关于如何将图像显示到asp.net的图像控件中。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆