المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Read and Write a file at the same time?



C# Programming
11-24-2009, 01:41 PM
Hi

Is there a way of writing and reading a csv file from C# at the same time?

I mean I have two separated projects; one keeps writing data into a csv file and the other one is to read the data from the same csv that is also being written.

When I tried this, it always says the file can't be accessed because it's being used by another process.

Is there anyway of getting around this?

Many thanks indeed.