
.NET Core
Rina_loving
这个作者很懒,什么都没留下…
展开
-
(转载)C#中的DllImport使用方法
DllImport是System.Runtime.InteropServices命名空间下的一个属性类,其功能是提供从非托管DLL导出的函数的必要调用信息 DllImport属性应用于方法,要求最少要提供包含入口点的dll的名称。 DllImport的定义如下: [AttributeUsage(AttributeTargets.Method)] public class DllImportA...转载 2020-04-02 21:16:13 · 388 阅读 · 0 评论 -
.Net Core 读取Excel 模板 导出 Excel 文件
var exportTemplatePath = "./Template/cxtemplate.xlsx"; var newName = $"xxx进度表汇总-{System.DateTime.Today.ToString("yyyy-MM-dd")}.xlsx"; var exprotPath = "wwwroot/Ex...原创 2020-03-30 16:18:48 · 1993 阅读 · 0 评论