在.NET Compact Framework 3.5中创建电子表格 [英] Create Spreadsheet in .NET Compact Framework 3.5
问题描述
我希望这不是一个重复的问题;我在该网站上进行了搜索,但找不到任何内容.如标题所述,我想在.NET Compact Framework项目上创建/编辑电子表格.在具有完整框架的桌面项目中,我很高兴使用ClosedXML,但是如果尝试使用它,则会遇到多个错误,因此我正在寻找替代方法.
I hope this is not a repetitive question; I've searched on the site but I was not able to find anything. As the title say I would like to create/edit spreadsheet on a .NET Compact Framework project. On desktop project with the full size framework I use, with pleasure, ClosedXML but if I try to use this I get multiple errors so I'm searching for an alternative.
我找到了一种商业选择(用于.NET的TMS Flexcel Studio),但我想知道是否可以免费使用某些东西.
I have found a commercial option (TMS Flexcel Studio for .NET) but I was wondering if there is something free to use.
我知道我可以简单地创建一个csv,但是我想做一些更现代的事情.
I know that I could simply create a csv but I want to do something a bit more modern.
在此先感谢所有将提供帮助的人.
Thanks in advance to everyone who will help.
推荐答案
好吧,尝试了许多免费的自由程序后,我找到了解决方案.
Ok, after trying a lot of free librery i found a solution.
优秀的作品!链接到Google代码
我已经尝试将Visual Studio 2008与Windows CE 5设备结合使用,并轻松创建了xls文件.我必须对其进行测试以检查性能,但至少它可以运行并且是免费的.另外,sintax非常简单
I have tried it with Visual Studio 2008 in combination with a Windows CE 5 device and it created an xls file easily. I must test it to check the performance but at least it works and it's free. Also the sintax is very simple
Dim file As String = "\HardDisk\newdoc.xls"
Dim workbook As New Workbook()
Dim worksheet As New SpreadSheet.Worksheet("First Sheet")
worksheet.Cells(3, 3) = New Cell(3.45)
workbook.Worksheets.Add(worksheet)
workbook.Save(file)
这篇关于在.NET Compact Framework 3.5中创建电子表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!