468,505 Members | 1,668 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

Datagrid Refresh

hi,

In my Datagrid i have some text and a image (for each item), if i edit
the image and save it to the HD there's no problem, but the image is always
saved with the same name (item number.jpg) so after the change the datagrid
does'nt refresh the image because her name did not change.

My question is : Is there a way to "refresh" the datagrid after the edit
function, to refresh the image ?
And another problem, after i change the image for the first time, if i
try to "re-change" it again, i recieve the error :

System.IO.IOException : The process cannot access the file *****
because it is being used by another process.
Thank you
Nov 19 '05 #1
1 1739
turn off caching to force the image to refresh.
As for the file being open, how are you opening it? are you disconnecting?

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"Andre" wrote:
hi,

In my Datagrid i have some text and a image (for each item), if i edit
the image and save it to the HD there's no problem, but the image is always
saved with the same name (item number.jpg) so after the change the datagrid
does'nt refresh the image because her name did not change.

My question is : Is there a way to "refresh" the datagrid after the edit
function, to refresh the image ?
And another problem, after i change the image for the first time, if i
try to "re-change" it again, i recieve the error :

System.IO.IOException : The process cannot access the file *****
because it is being used by another process.
Thank you

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Jeff | last post: by
3 posts views Thread by Jim Heavey | last post: by
3 posts views Thread by james crosthwaite via .NET 247 | last post: by
7 posts views Thread by Juan Romero | last post: by
1 post views Thread by Kevin Hodgson | last post: by
2 posts views Thread by Dan | last post: by
9 posts views Thread by mfahnestock | last post: by
6 posts views Thread by =?Utf-8?B?TWFyaw==?= | last post: by
reply views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.