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

边栏推荐
- GPS从入门到放弃(十八)、多路径效应
- Problems in the process of opencv300 cmake generating project
- hdu 4912 Paths on the tree(lca+馋)
- MySQL removes duplicates according to two fields
- What a new company needs to practice and pay attention to
- npm run dev启动项目报错 document is not defined
- 1D convolution detail
- GPS从入门到放弃(十三)、接收机自主完好性监测(RAIM)
- 【sciter】: 基于 sciter 封装通知栏组件
- 基于LM317的可调直流电源
猜你喜欢

How does the uni admin basic framework close the creation of super administrator entries?

GNN,请你的网络层数再深一点~

用aardio写一个旋转验证码标注小工具

Yyds dry goods inventory C language recursive implementation of Hanoi Tower

Tiktok will push the independent grass planting app "praiseworthy". Can't bytes forget the little red book?

PostgreSQL 安装gis插件 CREATE EXTENSION postgis_topology

Aggregate function with key in spark

功能强大的国产Api管理工具

GPS from entry to abandonment (XVII), tropospheric delay

Powerful domestic API management tool
随机推荐
Tiktok will push the independent grass planting app "praiseworthy". Can't bytes forget the little red book?
Sequoia China, just raised $9billion
The relationship between root and coefficient of quadratic equation with one variable
Michael smashed the minority milk sign
Earned value management EVM detailed explanation and application, example explanation
GPS从入门到放弃(十二)、 多普勒定速
Embedded common computing artifact excel, welcome to recommend skills to keep the document constantly updated and provide convenience for others
Five wars of Chinese Baijiu
美国科技行业结束黄金时代,芯片求售、裁员3万等哀声不断
微信红包封面小程序源码-后台独立版-带测评积分功能源码
Happy sound 2[sing.2]
C how to set two columns comboboxcolumn in DataGridView to bind a secondary linkage effect of cascading events
Unity3d Learning Notes 6 - GPU instantiation (1)
记一次清理挖矿病毒的过程
JPEG2000 matlab source code implementation
About the professional ethics of programmers, let's talk about it from the way of craftsmanship and neatness
功能强大的国产Api管理工具
LeetCode学习记录(从新手村出发之杀不出新手村)----1
string的底层实现
[daily] win10 system setting computer never sleeps