Hi,
Well, Aspose.Cells for .NET is a pure .NET component that is written in managed C#. So, there is not problem with the component using it concurrently in multi-threads. Bur, for your info, to save memory, there is a global shared string table in an Excel file. So if you change a single workbook data by opening it concurrently in multi-threads, the result might be unstable. There is also a global section in an Excel file which contains global information of drawing objects and other information etc. So, if you want to change the objects settings concurrently in multi-threads, the result might be unstable too. It is to be noted here, this is the limitation of MS Excel formats and nothing to do with Aspose.Cells for .NET component. So, the best way to utilize multi-threading is to create separate Workbook objects in each thread. Your application can handle multi-workbooks at the same time but please don't handle a single Excel file in multi-threads.
Thank you.
Amjad Sahi
Support Developer,
Aspose Sialkot Team
Contact Us