How do you use Excel server-side?

后端 未结 7 1278
走了就别回头了
走了就别回头了 2020-12-06 02:00

A client wants to \"Web-enable\" a spreadsheet calculation -- the user to specify the values of certain cells, then show them the resulting values in other cells.

(T

7条回答
  •  遥遥无期
    2020-12-06 02:27

    Neglecting the discussion whether it makes sense to manipulate an excel sheet on the server-side, one way to perform this would probably look like adopting the

    Microsoft.Office.Interop.Excel.dll

    Using this library, you can tell Excel to open a Spreadsheet, change and read the contents from .NET. I have used the library in a WinForm application, and I guess that it can also be used from ASP.NET.

    Still, consider the concurrency problems already mentioned... However, if the sheet is accessed unfrequently, why not...

提交回复
热议问题