How to read the correct data by c#after user change excel file data?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I use a c# method to open an excel file and to read it's data.But i find a problem that if i changed the excel file data manually by using excelapplication,the readed data by c# method isn't the modified data,it's old data still!
I think that maybe caused by c# use a data cache . How to refresh it or how to read the true excel file data?I don't want close my app
Thanks
 
Hi Napo,

I don't have the slightest idea of how you read excel data, but re-reading
might help...

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

Napo said:
Hi:
I use a c# method to open an excel file and to read it's data.But i
find a problem that if i changed the excel file data manually by using
excelapplication,the readed data by c# method isn't the modified data,it's
old data still!!
I think that maybe caused by c# use a data cache . How to refresh it or
how to read the true excel file data?I don't want close my app.
 
Back
Top