2013年11月28日

128条形码计算,利用Code 128字体实现条码打印

摘要: 此方法利用Code 128字体实现条码打印,所以需要提前安装Code 128字体,下载地址如下:http://pan.baidu.com/share/link?shareid=1787017019&uk=2382364834 /// /// 获取128条码数据 /// private string Get128CodeString(string inputData) { string result; //计算校验位 int checksum = 104; ... 阅读全文

posted @ 2013-11-28 15:08 ExDevilLee 阅读(1199) 评论(0) 推荐(0) 编辑

地区代码表(利用Hashtable实现)

摘要: using System;using System.Collections.Generic;using System.Text;using System.Collections;/** * 功能:通过两位地区码得到对应的地区简称、全称 **/namespace GetIDCardInfoDemo{ class DistrictCodeTable { /// /// 地区代码表(默认为空,需初始化:简称、全称) /// public Hashtable m_DistrictTB = new Hashtable(); ... 阅读全文

posted @ 2013-11-28 15:02 ExDevilLee 阅读(693) 评论(0) 推荐(0) 编辑

导航