当前位置:网站首页>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信息并打印

边栏推荐
- bat脚本学习(一)
- 【sciter】: 基于 sciter 封装通知栏组件
- LeetCode:1189. The maximum number of "balloons" -- simple
- mysql根据两个字段去重
- 【10点公开课】:视频质量评价基础与实践
- [Digital IC manual tearing code] Verilog automatic beverage machine | topic | principle | design | simulation
- The role of applicationmaster in spark on Yan's cluster mode
- The golden age of the U.S. technology industry has ended, and there have been constant lamentations about chip sales and 30000 layoffs
- [sciter bug] multi line hiding
- Run the deep network on PI and Jetson nano, and the program is killed
猜你喜欢

Make menuconfig has a recipe for target 'menuconfig' failed error

bat脚本学习(一)

GPS从入门到放弃(十三)、接收机自主完好性监测(RAIM)

GPS从入门到放弃(十七) 、对流层延时

爬虫实战(五):爬豆瓣top250

Five wars of Chinese Baijiu

Vit paper details
![[Yu Yue education] higher mathematics of Nanchang University (2) reference materials](/img/ae/a76f360590061229076d00d749b35f.jpg)
[Yu Yue education] higher mathematics of Nanchang University (2) reference materials

GPS从入门到放弃(十六)、卫星时钟误差和卫星星历误差

C# 如何在dataGridView里设置两个列comboboxcolumn绑定级联事件的一个二级联动效果
随机推荐
Numpy download and installation
GPS du début à l'abandon (XIII), surveillance autonome de l'intégrité du récepteur (raim)
Embedded common computing artifact excel, welcome to recommend skills to keep the document constantly updated and provide convenience for others
hdu 4912 Paths on the tree(lca+馋)
[daily] win10 system setting computer never sleeps
GPS从入门到放弃(十六)、卫星时钟误差和卫星星历误差
Vit paper details
新入职一家公司需要去实践和注意的内容
About the professional ethics of programmers, let's talk about it from the way of craftsmanship and neatness
[MySQL] online DDL details
HDU 2008 数字统计
Michael smashed the minority milk sign
UNI-Admin基础框架怎么关闭创建超级管理员入口?
[asp.net core] set the format of Web API response data -- formatfilter feature
Yyds dry goods inventory C language recursive implementation of Hanoi Tower
Guava: three ways to create immutablexxx objects
Happy sound 2[sing.2]
Sequoia China, just raised $9billion
Shell product written examination related
MySQL related terms