且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将图像显示到asp.net的图像控件中。

更新时间:2021-09-22 02:47:12

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[^]