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

边栏推荐
- Let's talk about BOM and DOM (5): dom of all large Rovers and the pits in BOM compatibility
- Tencent security apkpecker launched dex-vmp automatic shelling service
- Why computers often crash
- 云上本地化运营,东非第一大电商平台Kilimall的出海经
- Koa source code analysis
- Spirit information development log (1)
- LuChen technology was invited to join NVIDIA startup acceleration program
- Implementation of code rate and frame rate statistics in easyplayer RTSP player
- On BOM and DOM (6): bit value calculation of DOM objects and event objects, such as offsetx/top and clearx
- MySQL concept - View
猜你喜欢

【二叉数学习】—— 树的介绍

The data synchronization tool dataX has officially supported reading and writing tdengine

With a goal of 50million days' living, pwnk wants to build a "Disneyland" for the next generation of young people

setInterval里面的函数不能有括号

puzzle(019.1)Hook、Gear

Application configuration management, basic principle analysis

机器人迷雾之算力与智能

Application of intelligent reservoir management based on 3D GIS system

文件系统笔记

leetcode:1856. Maximum value of minimum product of subarray
随机推荐
解读AI机器人产业发展的顶层设计
Use of SQL join
Working principle of online video server selection method for online video platform
Microsoft Security, which frequently swipes the network security circle, gives us some enlightenment this time?
Brief introduction of domain name registration
[5 minutes to play lighthouse] take you to the light kubernetes release k3s
How to register the cloud service platform and what are the advantages of cloud server
C语言学生管理系统——可检查用户输入合法性,双向带头循环链表
文件系统笔记
云上本地化运营,东非第一大电商平台Kilimall的出海经
leetcode:84. The largest rectangle in the histogram
puzzle(019.1)Hook、Gear
How to send SMS in groups? What are the reasons for the poor effect of SMS in groups?
机器人迷雾之算力与智能
Kubernets traifik proxy WS WSS application
What is the main function of cloud disk? How to restore deleted pictures
MySQL concept - View
虚拟文件系统
应用配置管理,基础原理分析
潞晨科技获邀加入NVIDIA初创加速计划