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

边栏推荐
- The golden age of the U.S. technology industry has ended, and there have been constant lamentations about chip sales and 30000 layoffs
- mysql根据两个字段去重
- GPS从入门到放弃(十八)、多路径效应
- 【sciter Bug篇】多行隐藏
- GPS从入门到放弃(十七) 、对流层延时
- Intelligent online customer service system source code Gofly development log - 2 Develop command line applications
- Huawei has launched attacks in many industries at the same time, and its frightening technology has made European and American enterprises tremble
- MongoDB(三)——CRUD
- JS method to stop foreach
- Codeforces Round #274 (Div. 2) –A Expression
猜你喜欢
![[asp.net core] set the format of Web API response data -- formatfilter feature](/img/95/b7e7b5e9e9ac1d9295c17640beccb3.jpg)
[asp.net core] set the format of Web API response data -- formatfilter feature

GPS du début à l'abandon (XIII), surveillance autonome de l'intégrité du récepteur (raim)

GPS from getting started to giving up (XIII), receiver autonomous integrity monitoring (RAIM)

GPS從入門到放弃(十三)、接收機自主完好性監測(RAIM)

Aggregate function with key in spark

make menuconfig出现recipe for target ‘menuconfig‘ failed错误

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

Powerful domestic API management tool

PostgreSQL 修改数据库用户的密码

C# 如何在dataGridView里设置两个列comboboxcolumn绑定级联事件的一个二级联动效果
随机推荐
Why is the cluster mode of spark on Yan better than the client mode
GPS from getting started to giving up (19), precise ephemeris (SP3 format)
LeetCode学习记录(从新手村出发之杀不出新手村)----1
GPS从入门到放弃(二十)、天线偏移
Guava: use of multiset
Guava: three ways to create immutablexxx objects
PostgreSQL modifies the password of the database user
PostgreSQL 安装gis插件 CREATE EXTENSION postgis_topology
Is it important to build the SEO foundation of the new website
Huawei has launched attacks in many industries at the same time, and its frightening technology has made European and American enterprises tremble
Why rdd/dataset is needed in spark
GPS du début à l'abandon (XIII), surveillance autonome de l'intégrité du récepteur (raim)
2020 Bioinformatics | GraphDTA: predicting drug target binding affinity with graph neural networks
mysql根据两个字段去重
GPS从入门到放弃(十三)、接收机自主完好性监测(RAIM)
NPM run dev start project error document is not defined
MPLS experiment
Tiktok will push the independent grass planting app "praiseworthy". Can't bytes forget the little red book?
MongoDB(三)——CRUD
1292_FreeROS中vTaskResume()以及xTaskResumeFromISR()的实现分析