All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
判断远程图片是否存在_[XML教程]
C#教程:WebClient类使用实例
在ExcuteReader中使用输出参数的问题_[Asp.Net教程]
AJAX在PHP中的简单使用_[PHP教程]
Asp.net,Ajax,学习笔记2,UpdatePanel的使用(上)_[Asp.Net教程]
动态网页制作技术PHP处理时间的实例_[PHP教程]
ASP.NET,2.0打造购物车和支付系统之一_.net资料_编程技术
PHP网站开发中关于包含路径问题的解决方案_php资料_编程技术
ASP.NET实例:MD5简单加密_[Asp.Net教程]
c#中GDI+图形图像:GDI+中曲线的填充使用方法
Reading number is top 10 pictures
西游日记3
Forced sex girl living abroad2
Extremely rare TianShan Mountains snow lotus2
China's first snake village2
牛奶和人奶哪个好?
Fury xp desktop theme
mythology hero1
2013中国四川省高考作文
我国房地产真相
西游四格漫画(一)
Download software ranking
Red cliff
传奇私服架设教程
Tram sex maniac 2 (H) rar bag6
WebService在.NET中的实战应用教学视频 → 第2集
Boxer's Top ten classic battle8
Unix video tutorial20
Boxer's Top ten classic battle4
WebService在.NET中的实战应用教学视频 → 第5集
Unix video tutorial11
Kung.Fu.Panda.2
delv published in(发表于) 2014/1/27 6:47:59 Edit(编辑)
ASP.NET中生成条形码_[Asp.Net教程]

ASP.NET中生成条形码_[Asp.Net教程]

ASP.NET中生成条形码_[Asp.Net教程]

asp.net的条形码


#region asp.net的条形码
public string bar_code(object str, int ch, int cw, int type_code)
{
string strTmp=str.ToString();
string code=strTmp;
strTmp=strTmp.ToLower();
int height=ch;
int width=cw;
strTmp=strTmp.Replace("0", "_|_|__||_||_|");
strTmp=strTmp.Replace("1", "_||_|__|_|_||");
strTmp=strTmp.Replace("2", "_|_||__|_|_||");
strTmp=strTmp.Replace("3", "_||_||__|_|_|");
strTmp=strTmp.Replace("4", "_|_|__||_|_||");
strTmp=strTmp.Replace("5", "_||_|__||_|_|");
strTmp=strTmp.Replace("7", "_|_|__|_||_||");
strTmp=strTmp.Replace("6", "_|_||__||_|_|");
strTmp=strTmp.Replace("8", "_||_|__|_||_|");
strTmp=strTmp.Replace("9", "_|_||__|_||_|");
strTmp=strTmp.Replace("a", "_||_|_|__|_||");
strTmp=strTmp.Replace("b", "_|_||_|__|_||");
strTmp=strTmp.Replace("c", "_||_||_|__|_|");
strTmp=strTmp.Replace("d", "_|_|_||__|_||");
strTmp=strTmp.Replace("e", "_||_|_||__|_|");
strTmp=strTmp.Replace("f", "_|_||_||__|_|");
strTmp=strTmp.Replace("g", "_|_|_|__||_||");
strTmp=strTmp.Replace("h", "_||_|_|__||_|");
strTmp=strTmp.Replace("i", "_|_||_|__||_|");
strTmp=strTmp.Replace("j", "_|_|_||__||_|");
strTmp=strTmp.Replace("k", "_||_|_|_|__||");
strTmp=strTmp.Replace("l", "_|_||_|_|__||");
strTmp=strTmp.Replace("m", "_||_||_|_|__|");
strTmp=strTmp.Replace("n", "_|_|_||_|__||");
strTmp=strTmp.Replace("o", "_||_|_||_|__|");
strTmp=strTmp.Replace("p", "_|_||_||_|__|");
strTmp=strTmp.Replace("r", "_||_|_|_||__|");
strTmp=strTmp.Replace("q", "_|_|_|_||__||");
strTmp=strTmp.Replace("s", "_|_||_|_||__|");
strTmp=strTmp.Replace("t", "_|_|_||_||__|");
strTmp=strTmp.Replace("u", "_||__|_|_|_||");
strTmp=strTmp.Replace("v", "_|__||_|_|_||");
strTmp=strTmp.Replace("w", "_||__||_|_|_|");
strTmp=strTmp.Replace("x", "_|__|_||_|_||");
strTmp=strTmp.Replace("y", "_||__|_||_|_|");
strTmp=strTmp.Replace("z", "_|__||_||_|_|");
strTmp=strTmp.Replace("-", "_|__|_|_||_||");
strTmp=strTmp.Replace("*", "_|__|_||_||_|");
strTmp=strTmp.Replace("/", "_|__|__|_|__|");
strTmp=strTmp.Replace("%", "_|_|__|__|__|");
strTmp=strTmp.Replace("+", "_|__|_|__|__|");
strTmp=strTmp.Replace(".", "_||__|_|_||_|");
strTmp=strTmp.Replace("_", "");
strTmp=strTmp.Replace("|", "");
if(type_code==1)
{
return strTmp+"
"+code;
}
else
{
return strTmp;
}
}
#endregion

本文用 设计家园 整理收集







添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.