一个简单实用类 using Aspose Cells; class AsposeExcel { private string outFileName ""; private string fullFilename ""; private Workbook book null; private Worksheet sheet null; public AsposeExcel string outfilename 导出构造数 { outFileName outfilename; book new Workbook ; sheet book Worksheets[0]; } private void AddTitle string title int rowIndex int columnIndex { Cell cell1 sheet Cells[rowIndex columnIndex]; cell1 PutValue title ; } private void AddHeader DataTable dt int rowIndex int columnIndex { Cell cell null; for int col 0; col < dt Columns Count; col++ { cell sheet Cells[rowIndex col + columnIndex]; cell PutValue dt Columns[col] ColumnName ; } } private void AddBody DataTable dt int rowIndex int columnIndex { for int r 0; r < dt Rows Count; r++ { for int c 0; c < dt Columns Count; c++ { sheet Cells[r + rowIndex c + columnIndex] PutValue dt Rows[r][c] ToString ; } } } 导出 public Boolean DatatableToExcel DataTable dt int rowIndex int columnIndex { Boolean yn false; try { sheet Name sheetName; AddHeader dt rowIndex columnIndex ; AddBody dt rowIndex+1 columnIndex+1 ; sheet AutoFitColumns ; sheet AutoFitRows ; book Save outFileName ; yn true; return yn; } catch Exception e { return yn; } } }">一个简单实用类 using Aspose Cells; class AsposeExcel { private string outFileName ""; private string fullFilename ""; private Workbook book null; private Worksheet sheet null; public AsposeExcel string outfilename 导 [更多]
2022-11-15 10:54:47 11.64MB Aspose cell Excel
1
c 语言配置文件解析---通用版本,很好用
2022-11-14 18:54:30 23KB 言配置文件
1
bepuphysics v2 这是bepuphysics v2库的存储库,它是C#3d刚体物理引擎的完整重写。 BepuPhysics和BepuUtilities库以.NET Standard 2.0为目标,并且可以在任何受支持的平台上工作。 该演示面向.NET Core 5.0,默认情况下使用DX11。 您还可以使用dotnet run --project Demos.GL/Demos.csproj -c ReleaseStrip在存储库根目录中的命令行从命令行运行其他平台的。 物理引擎大量使用System.Numerics.Vectors类型,因此要获得良好的性能,您需要一个可以使用这些类型的编译器(例如RyuJIT)。 要生成源代码,您需要安装了.NET Core工作负载的Visual Studio的最新版本。 Demos.sln引用所有相关项目。 有关更多信息,请参见 。
1
最新版本fflay.c 移植到MFC
2022-11-11 11:29:58 328.41MB ffmpeg mfc ffplay
1
C语言点菜小程序的问题 1.应用多分支选择结构、循环结构及已学的所有C语言相关知识,编写“点菜器”程序,功能要求如下: 1)在黑屏终端下,输入字母A或a,输出菜名***及单价,并询问点几份,由用户输入份数; 2)程序运行不结束,输入字母B或b,输出另一菜名***及单价,余下功能和1)类似; 3)重复2)的功能,每次菜名及单价都不一样。直至用户在黑屏终端下输入E或e,输出“就这些”并输出总价。
2022-11-10 11:40:17 1KB 关于做菜小程序的C语言版本
1
主要介绍C++17标准的基本语言特性、模板特性、标准库组件等方面的内容
2022-11-10 10:05:32 1.33MB c++ c++11 C++17
1
解决excel导出问题。针对office 2007 以上版本同样有效 microsoft excel 12.0 object library 环境下有问题,_microsoft excel 14.0 object library 测试通过 _microsoft excel 11.0 object library 同样支持 2003,2007耐心调试不会有问题,自己已经验证调试通过
2022-11-09 17:21:15 40KB 导入Excel C#
1
1.对象和集合初始化器 2.修复一个小BUG 修复爆炸后,爆炸对象,没有被清除 3.制作透明背景的GIF图片 4.适合于游戏爱好者收藏!
2022-11-07 11:25:23 340KB C# 游戏 免费 源代码
1
寿星天文历的C 实现版本
2022-11-05 14:19:16 2.44MB C/C 开发-其它杂项
1
基于5G-NR通过C语言实现的LDPC编码,可以使用,注释明确,易于上手
1