By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,208 Members | 1,550 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,208 IT Pros & Developers. It's quick & easy.

Datagrid Refresh

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.