miniexcel C# 开发备忘

导出excel,设置列宽度:

var config = new OpenXmlConfiguration
{
    DynamicColumns = new DynamicExcelColumn[] { 
        new DynamicExcelColumn("id"){Ignore=true},
        new DynamicExcelColumn("name"){Index=1,Width=10},
        new DynamicExcelColumn("createdate"){Index=0,Format="yyyy-MM-dd",Width=15},
        new DynamicExcelColumn("point"){Index=2,Name="Account Point"},
    }
};
var path = PathHelper.GetTempPath();
var value = new[] { new { id = 1, name = "Jack", createdate = new DateTime(2022, 04, 12) ,point = 123.456} };
MiniExcel.SaveAs(path, value, configuration: config);

参考

http://gitee.com/dotnetchina/MiniExcel

http://www.dongchuanmin.com/net/3930.html

 

 

winform控件 datagridview

 

image

 

 

 

 

 

https://dotnet.microsoft.com/zh-cn/languages/csharp

https://docs.avaloniaui.net

https://www.wpfsoft.com 重庆

https://docs.prismlibrary.com/docs

https://dotnetfiddle.net 在线写代码玩具

https://github.com/uhub/awesome-c-sharp

https://www.isoface.cn

SmartSoftHelp DeepCore XSuite NETCORE 动软三层架构

www.openauth.net.cn 快速搭建.net 企业级权限工作流系统 3000元

中文网页重设与排版:typo.css

https://www.koudingke.cn .Net Core 平台开源内容管理系统

MEF加载工具-MEFUtil easy-tool

https://www.jetbrains.com dotPeek 反编译

 

个人博客

How to install Scalar in .NET 9

https://blazorserver.com

 

 

 

 

一招搞定!利用神器 Costura.Fody 将 WinForm 程序打包秒变独立桌面单一绿色可执行软件

SWEBUI_.NET可视化WEB开发平台_通过VisualStudio开发Web

posted @ 2026-01-23 09:09  二娃网  阅读(25)  评论(0)    收藏  举报
www.erwa.cn 二娃备忘