C#最全基类源码包括ASP.NET类库、读取AD域里用户名或组、Common类库、DotNet基础类大全、SqlHelper基类、字符串加密


C#最全基类源码(包括ASP.NET类库、读取AD域里用户名或组、Common类库、DotNet基础类大全、SqlHelper基类、字符串加密)
资源截图
代码片段和文件信息
using System.Collections;
using System.Text.Regularexpressions;

public class BarCodeToHTML
{
    public static string get39(string s int width int height)
    {
        Hashtable ht = new Hashtable();

        #region 39码 12位
        ht.Add(‘A‘ “110101001011“);
        ht.Add(‘B‘ “101101001011“);
        ht.Add(‘C‘ “110110100101“);
        ht.Add(‘D‘ “101011001011“);
        ht.Add(‘E‘ “110101100101“);
        ht.Add(‘F‘ “101101100101“);
        ht.Add(‘G‘ “101010011011“);
        ht.Add(‘H‘ “110101001101“);
        ht.Add(‘I‘ “101101001101“);
        ht.Add(‘J‘ “101011001101“);
        ht.Add(‘K‘ “110101010011“);
        ht.Add(‘L‘ “101101010011“);
        ht.Add(‘M‘ “110110101001“);
        ht.Add(‘N‘ “101011010011“);
        ht.Add(‘O‘ “110101101001“);
        ht.Add(‘P‘ “101101101001“);
        ht.Add(‘Q‘ “101010110011“);
        ht.Add(‘R‘ “110101011001“);
        ht.Add(‘S‘ “101101011001“);
        ht.Add(‘T‘ “101011011001“);
        ht.Add(‘U‘ “110010101011“);
        ht.Add(‘V‘ “100110101011“);
        ht.Add(‘W‘ “110011010101“);
        ht.Add(‘X‘ “100101101011“);
        ht.Add(‘Y‘ “110010110101“);
        ht.Add(‘Z‘ “100110110101“);
        ht.Add(‘0‘ “101001101101“);
        ht.Add(‘1‘ “110100101011“);
        ht.Add(‘2‘ “101100101011“);
        ht.Add(‘3‘ “110110010101“);
        ht.Add(‘4‘ “101001101011“);
        ht.Add(‘5‘ “110100110101“);
        ht.Add(‘6‘ “101100110101“);
        ht.Add(‘7‘ “101001011011“);
        ht.Add(‘8‘ “110100101101“);
        ht.Add(‘9‘ “101100101101“);
        ht.Add(‘+‘ “100101001001“);
        ht.Add(‘-‘ “100101011011“);
        ht.Add(‘*‘ “100101101101“);
        ht.Add(‘/‘ “100100101001“);
        ht.Add(‘%‘ “101001001001“);
        ht.Add(‘$‘ “100100100101“);
        ht.Add(‘.‘ “110010101101“);
        ht.Add(‘ ‘ “100110101101“);
        #endregion

        #region 39码 9位
        //ht.Add(‘0‘ “000110100“);
        //ht.Add(‘1‘ “100100001“);
        //ht.Add(‘2‘ “001100001“);
        //ht.Add(‘3‘ “101100000“);
        //ht.Add(‘4‘ “000110001“);
        //ht.Add(‘5‘ “100110000“);
        //ht.Add(‘6‘ “001110000“);
        //ht.Add(‘7‘ “000100101“);
        //ht.Add(‘8‘ “100100100“);
        //ht.Add(‘9‘ “001100100“);
        //ht.Add(‘A‘ “100001001“);
        //ht.Add(‘B‘ “001001001“);
        //ht.Add(‘C‘ “101001000“);
        //ht.Add(‘D‘ “000011001“);
        //ht.Add(‘E‘ “100011000“);
        //ht.Add(‘F‘ “001011000“);
        //ht.Add(‘G‘ “000001101“);
        //ht.Add(‘H‘ “100001100“);
        //ht.Add(‘I‘ “001001100“);
        //ht.Add(‘J‘ “000011100“);
        //ht.Add(‘K‘ “100000011“);
        //ht.Add(‘L‘ “001000011“);
        //ht.Add(‘M‘ “101000010“);
        //ht.Add(‘N‘ “000010011“);
        //ht.Add(‘O‘ “100010010“);
        //ht.Add(‘P‘ “001010010“);
        //ht.Add(‘Q‘ “000000111“);
        //ht.Add(‘R‘ “100000110“);
       

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-10-12 20:03  C#基类
     目录           0  2012-10-12 20:03  C#基类ASP.NET类库
     文件       12181  2011-09-27 14:13  C#基类ASP.NET类库BarCodeToHTML.cs
     目录           0  2012-10-12 20:03  C#基类ASP.NET类库in
     目录           0  2012-10-12 20:03  C#基类ASP.NET类库inDebug
     文件      200704  2010-05-25 12:55  C#基类ASP.NET类库inDebugICSharpCode.SharpZipLib.dll
     文件     3526656  2011-08-23 12:25  C#基类ASP.NET类库inDebugitextsharp.dll
     文件      180736  2011-09-27 20:54  C#基类ASP.NET类库inDebugzjy.Common.dll
     文件      407040  2011-09-27 20:54  C#基类ASP.NET类库inDebugzjy.Common.pdb
     目录           0  2012-01-26 13:46  C#基类ASP.NET类库inRelease
     目录           0  2012-10-12 20:03  C#基类ASP.NET类库inShootSeg
     文件     2382839  2010-06-01 22:13  C#基类ASP.NET类库inShootSegsDict.dic
     文件         886  2006-06-13 17:49  C#基类ASP.NET类库inShootSegsNoise.dic
     文件         291  2006-08-10 01:23  C#基类ASP.NET类库inShootSegsNumber.dic
     文件        2454  2006-06-21 19:15  C#基类ASP.NET类库inShootSegsPrefix.dic
     文件         154  2006-06-20 21:12  C#基类ASP.NET类库inShootSegsWord.dic
     文件        1980  2011-11-06 11:39  C#基类ASP.NET类库CacheHelper.cs
     文件        5954  2011-09-27 20:54  C#基类ASP.NET类库Captcha.cs
     文件       59045  2011-09-27 09:43  C#基类ASP.NET类库CNDate.cs
     文件       10260  2011-09-27 09:43  C#基类ASP.NET类库ConvertJson.cs
     文件        2228  2011-09-27 14:17  C#基类ASP.NET类库CsvHelper.cs
     文件        9620  2011-09-27 09:43  C#基类ASP.NET类库EcanConvertToCh.cs
     文件        5077  2011-09-27 09:43  C#基类ASP.NET类库Encrypt.cs
     文件       19285  2011-09-27 14:16  C#基类ASP.NET类库ExcelHelper.cs
     文件        6894  2011-09-27 14:16  C#基类ASP.NET类库FileDown.cs
     文件       11981  2011-09-27 09:43  C#基类ASP.NET类库FileManager.cs
     文件        3923  2011-09-27 14:16  C#基类ASP.NET类库FileUp.cs
     文件       23758  2011-09-27 14:16  C#基类ASP.NET类库FTPClient.cs
     文件       11595  2011-09-27 14:16  C#基类ASP.NET类库FTPHelper.cs
     文件        8955  2011-09-27 14:16  C#基类ASP.NET类库FTPOperater.cs
     文件        8337  2011-09-27 14:16  C#基类ASP.NET类库GridViewHelper.cs
............此处省略564个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)