![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Demo
向着有光的地方前进
这个作者很懒,什么都没留下…
展开
-
.net向 Web版代码生成器Demo
工具的核心是select name from master..sysdatabases order by name--查出所有数据库--然后根据数据库查询出对应的表use DataBase;--查出当前数据库下所有用户表SELECT name FROM sysobjects where type = 'u' ; --查询表结构SELECT * FROM INFORMATION...原创 2019-10-15 17:36:57 · 179 阅读 · 0 评论 -
Excel 导入至 SQL Server
1.新建项目2.拷贝 Aspose.Cell 文件到项目文件夹并引用3.添加 AsposeExcelHelper 插件类#region 构造函数 public AsposeExcelHelper() { book = new Workbook(); SetSheets(0); } ...原创 2019-01-22 14:48:15 · 383 阅读 · 0 评论 -
Aspose.cell 柱状图
项目是控制台应用用的是 Aspose.cell 插件using Aspose.Cells;using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Window...原创 2019-07-30 11:42:08 · 882 阅读 · 0 评论 -
NOPI生成柱状图
NOPI 不支持创建 Chart 图表因此只能创建模板并提前写好图表样式,在填充数据的方式实现图表Excel生成。using NPOI.HSSF.UserModel;using NPOI.SS.UserModel;using NPOI.XSSF.UserModel;using System;using System.Collections.Generic;using System.IO...原创 2019-08-07 16:07:49 · 472 阅读 · 0 评论 -
.net Core 导出 Excel
这里用的 NOPI 插件,因为是.net Core 平台下原有的NOPI 无法使用,只可以使用大神们移植的NOPI.CoreInstall-Package DotNetCore.NPOI 通过nuget 输入安装。Json 插件也是通过nuget 安装using System;using System.IO;using Newtonsoft.Json.Linq;using NPOI...原创 2019-08-13 14:46:34 · 849 阅读 · 0 评论