使用fileupload按钮上传图像后如何在同一网页中显示图像 [英] how to display the image in the same webpage after uploading image using fileupload button

查看:110
本文介绍了使用fileupload按钮上传图像后如何在同一网页中显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用文件上传按钮选择了图像,并且我想在上传页面的同一页面中显示或显示同一图像,那我该怎么做呢?

if i selected image using file upload button and i want to show or display the same image in the same page where i uploaded it then how can i do this?

推荐答案

PageLoad方法中,查看图像是否存在.如果是这样,请显示它.
In the PageLoad method, see if the image exists. If it does, show it.


这篇关于使用fileupload按钮上传图像后如何在同一网页中显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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