当前位置:网站首页>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信息并打印
边栏推荐
- Embedded common computing artifact excel, welcome to recommend skills to keep the document constantly updated and provide convenience for others
- uni-app App端半屏连续扫码
- guava:Collections. The collection created by unmodifiablexxx is not immutable
- AI enterprise multi cloud storage architecture practice | Shenzhen potential technology sharing
- Leetcode topic [array] -118 Yang Hui triangle
- [sciter]: encapsulate the notification bar component based on sciter
- GPS从入门到放弃(十九)、精密星历(sp3格式)
- Basic introduction of figure
- C language char, wchar_ t, char16_ t, char32_ Relationship between T and character set
- 关于char[]数组通过scanf赋值使用上的一些问题。。
猜你喜欢
JS method to stop foreach
[MySQL] online DDL details
GPS从入门到放弃(十九)、精密星历(sp3格式)
Basic introduction of figure
GPS from getting started to giving up (16), satellite clock error and satellite ephemeris error
GPS从入门到放弃(十六)、卫星时钟误差和卫星星历误差
搜素专题(DFS )
GPS from getting started to giving up (XIII), receiver autonomous integrity monitoring (RAIM)
[10:00 public class]: basis and practice of video quality evaluation
What can one line of code do?
随机推荐
HDU 4912 paths on the tree (lca+)
MariaDb数据库管理系统的学习(一)安装示意图
功能强大的国产Api管理工具
设置状态栏样式Demo
GPS from getting started to giving up (XIII), receiver autonomous integrity monitoring (RAIM)
GPS from getting started to giving up (XVIII), multipath effect
Codeforces Round #274 (Div. 2) –A Expression
Set status bar style demo
Checkpoint of RDD in spark
JPEG2000 matlab source code implementation
50 commonly used numpy function explanations, parameters and usage examples
GPS从入门到放弃(十四)、电离层延时
HDU 2008 digital statistics
Efficiency tool +wps check box shows the solution to the sun problem
Bat script learning (I)
UNI-Admin基础框架怎么关闭创建超级管理员入口?
ViT论文详解
Kohana 数据库
Why rdd/dataset is needed in spark
GPS从入门到放弃(十八)、多路径效应