当前位置:网站首页>【愚公系列】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;

边栏推荐
- File system notes
- The cloud monitoring system hertzbeat V1.1.0 is released, and a command starts the monitoring journey!
- What are the easy-to-use character recognition software? Which are the mobile terminal and PC terminal respectively
- 【问题解决】The connection to the server localhost:8080 was refused
- C language student management system - can check the legitimacy of user input, two-way leading circular linked list
- 35岁危机?内卷成程序员代名词了
- Several methods for reinstalling the system:
- Application of intelligent reservoir management based on 3D GIS system
- 【JUC系列】Executor框架之CompletionFuture
- 机器人迷雾之算力与智能
猜你喜欢

数据库 存储过程 begin end

Record -- about the problem of garbled code when JSP foreground passes parameters to the background

About Stacked Generalization

LuChen technology was invited to join NVIDIA startup acceleration program

【JUC系列】Executor框架之CompletionFuture

Record -- about the method of adding report control to virtual studio2017 -- reportview control

创客教育给教师发展带来的挑战

基于三维GIS系统的智慧水库管理应用

leetcode:85. 最大矩形

云上本地化运营,东非第一大电商平台Kilimall的出海经
随机推荐
[JUC series] completionfuture of executor framework
How to give full play to the advantages of Internet of things by edge computing intelligent gateway
How to register the cloud service platform and what are the advantages of cloud server
Use of SQL join
go 断点续传
How to send SMS in groups? What are the reasons for the poor effect of SMS in groups?
Attack and defense enlightenment: chromium component risk analysis and convergence
Oceanus kudu sink summary
oracle sql综合运用 习题
学生管理系统页面跳转及数据库连接
Station B collapsed. Let's talk to the injured programmers
C语言学生管理系统——可检查用户输入合法性,双向带头循环链表
Go excel export tool encapsulation
Thread safety and its implementation
Cloudcompare & PCL point cloud clipping (based on clipping box)
【二叉树】——二叉树中序遍历
Project demo
Several methods for reinstalling the system:
Replacing human eyes -- visual inspection technology
Internet cafe management system and database