当前位置:网站首页>【愚公系列】2022年6月 ASP.NET Core下CellReport报表工具基本介绍和使用
【愚公系列】2022年6月 ASP.NET Core下CellReport报表工具基本介绍和使用
2022-06-24 06:39:00 【愚公搬代码】
前言
在没有计算机以前,人们利用纸和笔来记录数据,这种情况下,报表数据和报表格式是紧密结合在一起的,都在同一个本子上。如今已经是信息化时代对于报表不在是以手工记账而是报表工具来处理数据和界面设计的功能来生成、展示报表。
报表的作用主要有如下四点:
- 将数据记录下来,将信息数字化,信息化。
- 对数据进行统计汇总。
- 将枯燥的数据转化为可以更加直观的分析图表图形。
- 对图表进行直观的对比,快速查找到能作为参考依据的数据项。
本篇着重讲解基于.NET Core 6开发的报表工具CellReport。
github地址:https://github.com/NoneDay/CellReport
文档地址:https://noneday.gitee.io/CellReport/zh/guide/
一、CellReport报表工具
1.CellReport的特点
| 特点 | 说明 |
|---|---|
| 高效、灵活 | 内部以专门为报表设计的 类js语言 为中心,以最少的配置帮助你专注于报表开发。 |
| Net6驱动、高性能 | 享受 Net6 的高效运行,占用极少的内存(300M左右),运行各种复杂的中国式报表。 |
| 中国式报表 | 专为常年制作报表的人士提供基于集合运算的多数据集支持,实现高效、快捷的完成报表制作。 |
| 多组件展现 | 基于dashborad 的单页面多组件展现,预置了30 多个为展现数据定制的组件(echart图、avue数据展现等)。 |
| 自由扩展 | 报表引擎可添加自定义函数,前端可自定义展现组件,通过内置语言自由扩展认证和权限接入。 |
| 通用数据源 | 数据源支持各种.net支持的数据库、excel文件、api服务、本软件制作的报表、其他报表软件的报表(如:reporting service 等) |
2.CellReport的使用前提
下载安装.NET Core 6 SDK 或 ASP.NET Core Runtime 6。官网下载地址 https://dotnet.microsoft.com/download

下载安装redis(可选)。最好安装 https://github.com/MicrosoftArchive/redis/releases

3.CellReport的使用
CellReport下载网址:https://gitee.com/NoneDay/CellReport/releases/
4.运行和配置
运行和配置步骤如下:
- 执行 start.bat

- 浏览器输入地址: http://127.0.0.1:5000
- 缺省用户名密码:admin/database!123 。管理员用户在appsetting.json中存有(最后面可以找到),可以自行修改。

数据库连接字符串配置:
sql server 连接串格式
Data Source=ip地址;Initial Catalog=数据库名字;Persist Security Info=True;User ID=用户;Password=口令;Min Pool Size=1;Max Pool Size=50;Connect Timeout=15000;Application Name=报表连接
oracle 连接串 格式
Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ip地址)(PORT=端口))(CONNECT_DATA=(SERVER = SERVER名字)(SERVICE_NAME = 数据库)));User Id=用户;Password=口令;
sqlite 连接串 格式
Data Source=E:\my_app\报表源码_2020\a_new_lib\test.db
MySql 连接串 格式
Database=dbname;Data Source=x.x.x.x;Port=3306;User Id=xxx;Password=****;Charset=utf8;TreatTinyAsBoolean=false;
pgsql 连接串 格式
server=ip地址;port=5432;uid=用户;pwd=口令;database=数据库;Pooling=true;

边栏推荐
- In the half year, there were 2.14 million paying users, a year-on-year increase of 62.5%, and New Oriental online launched its private domain
- 数据同步工具 DataX 已经正式支持读写 TDengine
- typescript vscode /bin/sh: ts-node: command not found
- What are the audio formats? Can the audio format be converted
- What are the easy-to-use character recognition software? Which are the mobile terminal and PC terminal respectively
- Thread safety and its implementation
- 如何低成本构建一个APP
- 记录--关于virtual studio2017添加报表控件的方法--Reportview控件
- 程序员使用个性壁纸
- FreeRTOS MPU使系统更健壮!
猜你喜欢

leetcode:84. 柱状图中最大的矩形
![Jumping game ii[greedy practice]](/img/e4/f59bb1f5137495ea357462100e2b38.png)
Jumping game ii[greedy practice]

Application configuration management, basic principle analysis

成为 TD Hero,做用技术改变世界的超级英雄 | 来自 TDengine 社区的邀请函

【二叉树】——二叉树中序遍历

leetcode:85. 最大矩形

leetcode:85. Max rectangle

Programmers use personalized Wallpapers

Rockscache schematic diagram of cache operation

35 year old crisis? It has become a synonym for programmers
随机推荐
MySQL concept - View
开源与创新
Interpreting the new features of Appstore: Customizing product pages and a/b test tools
Jumping game ii[greedy practice]
文件系统笔记
Thread safety and its implementation
Easyrtc call error `failed to execute'send'on'rtcdatachannel'
虚拟文件系统
The cloud monitoring system hertzbeat V1.1.0 is released, and a command starts the monitoring journey!
Easy car Interviewer: talk about MySQL memory structure, index, cluster and underlying principle!
oracle sql综合运用 习题
On BOM and DOM (2): DOM node hierarchy / attributes / Selectors / node relationships / detailed operation
Attack and defense enlightenment: chromium component risk analysis and convergence
Record -- about the method of adding report control to virtual studio2017 -- reportview control
leetcode:85. Max rectangle
Laravel文档阅读笔记-Laravel Str slug() Function Example
FreeRTOS MPU使系统更健壮!
Brief introduction of domain name registration
应用配置管理,基础原理分析
云监控系统 HertzBeat v1.1.0 发布,一条命令开启监控之旅!