当前位置:网站首页>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 modifies the password of the database user
- C# 如何在dataGridView里设置两个列comboboxcolumn绑定级联事件的一个二级联动效果
- Intelligent online customer service system source code Gofly development log - 2 Develop command line applications
- From campus to Tencent work for a year of those stumbles!
- GPS from getting started to giving up (XIII), receiver autonomous integrity monitoring (RAIM)
- Why rdd/dataset is needed in spark
- 2020 Bioinformatics | GraphDTA: predicting drug target binding affinity with graph neural networks
- PostgreSQL install GIS plug-in create extension PostGIS_ topology
- uni-app App端半屏连续扫码
- [sciter]: encapsulate the notification bar component based on sciter
猜你喜欢

Uni app app half screen continuous code scanning

Earned value management EVM detailed explanation and application, example explanation

搜素专题(DFS )

小满网络模型&http1-http2 &浏览器缓存

guava:Collections. The collection created by unmodifiablexxx is not immutable

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

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

AI enterprise multi cloud storage architecture practice | Shenzhen potential technology sharing

美国科技行业结束黄金时代,芯片求售、裁员3万等哀声不断

C how to set two columns comboboxcolumn in DataGridView to bind a secondary linkage effect of cascading events
随机推荐
Huawei has launched attacks in many industries at the same time, and its frightening technology has made European and American enterprises tremble
Univariate cubic equation - relationship between root and coefficient
新入职一家公司需要去实践和注意的内容
The golden age of the U.S. technology industry has ended, and there have been constant lamentations about chip sales and 30000 layoffs
HDU 4912 paths on the tree (lca+)
2020 Bioinformatics | GraphDTA: predicting drug target binding affinity with graph neural networks
[Digital IC manual tearing code] Verilog automatic beverage machine | topic | principle | design | simulation
Michael smashed the minority milk sign
[Yu Yue education] higher mathematics of Nanchang University (2) reference materials
GPS从入门到放弃(十七) 、对流层延时
Write a rotation verification code annotation gadget with aardio
Five wars of Chinese Baijiu
【sciter Bug篇】多行隐藏
Kohana database
GPS从入门到放弃(十三)、接收机自主完好性监测(RAIM)
搜素专题(DFS )
保存和检索字符串
[10:00 public class]: basis and practice of video quality evaluation
GPS从入门到放弃(二十)、天线偏移
Leetcode topic [array] -118 Yang Hui triangle