更新的图像不显示在gridview中 [英] Updated image not display in gridview
本文介绍了更新的图像不显示在gridview中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用.net2008.
当我保存名称",代码",图像"之类的详细信息时,它会正确显示在网格中.
(图像路径保存到数据库,图像保存到应用程序文件夹")
当我更新详细信息时,更新的代码和名称会正确显示,但图像不会显示最新的图像.
它显示旧图像.
如何解决此问题.
I am using .net 2008.
When i save details like "name","code","image" it properly display in to grid.
(image path save to database and image save to application folder")
When i update details, updated code and name properly display but image not display the latest.
It display old image.
How to solve this.
推荐答案
发布图像上传代码.
问题可能是:
1)检查是否正在更新数据库中新添加的图像路径.
2)您要将更新的数据绑定到gridview吗?
post the image uploading code.
Problem may be:
1) check that you are updating the newly added image path in database.
2) You are binding the updated data to the gridview?
这篇关于更新的图像不显示在gridview中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文