当前位置:网站首页>C#实现水晶报表绑定数据并实现打印4-条形码
C#实现水晶报表绑定数据并实现打印4-条形码
2022-07-06 13:57:00 【coder i++】
看了上几篇文章 加上自己的调试可以打出来了
大概记录下流程
1、在dataset中加入列code 类型System.Byte[] ,并将此列拉至水晶报表某位置
2、安装BarcodeX并添加 barcodex.ocx 引用
3、新建 from 并拉一个 barcode过来
4、获取数据并赋值
barcodex.Caption = “123456”;
5、将图片信息转为bytes流并赋值
ImageToBytes
datatset.rows[i].column[“code”] = imgbytes;
6、赋值给水晶报表对应dataset信息并打印
边栏推荐
- PostgreSQL 修改数据库用户的密码
- [Yu Yue education] higher mathematics of Nanchang University (2) reference materials
- uni-app App端半屏连续扫码
- Powerful domestic API management tool
- Efficiency tool +wps check box shows the solution to the sun problem
- Sparkshuffle process and Mr shuffle process
- 一行代码可以做些什么?
- Save and retrieve strings
- 基于LM317的可调直流电源
- Earned value management EVM detailed explanation and application, example explanation
猜你喜欢
Uni app app half screen continuous code scanning
[Digital IC manual tearing code] Verilog automatic beverage machine | topic | principle | design | simulation
Search element topic (DFS)
Shell product written examination related
Checkpoint of RDD in spark
Leetcode topic [array] -118 Yang Hui triangle
GPS from getting started to giving up (19), precise ephemeris (SP3 format)
GPS from getting started to giving up (XV), DCB differential code deviation
Unity3D学习笔记6——GPU实例化(1)
GPS从入门到放弃(十五)、DCB差分码偏差
随机推荐
[sciter bug] multi line hiding
嵌入式常用计算神器EXCEL,欢迎各位推荐技巧,以保持文档持续更新,为其他人提供便利
Some problems about the use of char[] array assignment through scanf..
Persistence / caching of RDD in spark
Guava: three ways to create immutablexxx objects
JS method to stop foreach
Powerful domestic API management tool
1292_ Implementation analysis of vtask resume() and xtask resume fromisr() in freeros
GPS from getting started to giving up (XIII), receiver autonomous integrity monitoring (RAIM)
Is it important to build the SEO foundation of the new website
What is the RDD operator in spark
GPS from getting started to giving up (19), precise ephemeris (SP3 format)
GPS从入门到放弃(十四)、电离层延时
The golden age of the U.S. technology industry has ended, and there have been constant lamentations about chip sales and 30000 layoffs
QT | UDP broadcast communication, simple use case
GPS from getting started to giving up (XX), antenna offset
Search map website [quadratic] [for search map, search fan, search book]
设置状态栏样式Demo
华为在多个行业同时出击,吓人的技术让欧美企业瑟瑟发抖
Adjustable DC power supply based on LM317