Home > Back-end >  How to use Excel to read in the MemoryStream.xls files
How to use Excel to read in the MemoryStream.xls files

Time:09-17

Use idHttp Xls format of the file is downloaded over the network to the MemoryStream, can deposit in the territory directly in memory to open the read (because want to download and read many times at the same time, so I want to improve the processing speed), checked the, temporary didn't find the relevant methods, the students have what good method?

Thank you very much!

CodePudding user response:

Is in the Excel TMemoryStream how to directly open the file content,

CodePudding user response:

TMemoryStream files stored in the disk file, and then through the Excel to open it,

CodePudding user response:

refer to the second floor lyhoo163 response:
TMemoryStream files stored in the disk file, open it again by Excel,


Well, it sure can, and if you do, I can even use TFileStream directly and not use TMemoryStream, because of the need to download and read the data in the application of nearly one million times, such inventory/read from the disk in the middle of the process will have a lot of time overhead, to improve efficiency, just wonder is there any way to Excel directly open the MemoryStream in Excel file,

CodePudding user response:

XLSReadWrite control yourself to find the control method
  • Related