如何在面板中查看图像或任何其他方式. [英] How to view image in Panel or any any other way..

查看:76
本文介绍了如何在面板中查看图像或任何其他方式.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,
我控制了Fileupload.我可以成功地将图像上传到指定的文件夹中.但是现在我想在页面中查看该图像(无论是面板还是其他方式,最好是我的面板).
因此,请尽早通知我,我的帮助会减少..
谢谢..

Sir,
I took Fileupload control.And I can sucessfully upload image in the specified folder.But Now I want to view that image inthe page,(whether it is Panel or any other way,best will be panel for me).
So Please inform me immeduately, I am help less..
Thank you..

推荐答案

protected void Upload_Click(object sender, EventArgs e)
   {
       Panel1.Style.Add(HtmlTextWriterStyle.BackgroundImage, "location_where_You_save_image");
   }


这篇关于如何在面板中查看图像或任何其他方式.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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