摘要:
public static class CustomerConfigHelper { public static object _lockObject = new object(); private static string GetCustomConfigValue(string key) { s 阅读全文
摘要:
public static class EnumHelper { /// <summary> /// 枚举转换为字典 /// </summary> /// <typeparam name="T"></typeparam> /// <returns></returns> public static D 阅读全文
摘要:
public static class IpHelper { /// <summary> /// 获取Ip /// </summary> /// <returns></returns> public static string GetIp() { string[] IP_Ary; string st 阅读全文
摘要:
public class LogHelper { private static string _logFielPrefix = string.Empty; private static string LogPath { get { return GetLogPath(@"/log/"); } } / 阅读全文
摘要:
public sealed class TypeHelper { #region Int16 / short public static short ToInt16(object o, short _default) { try { return Convert.ToInt16(o); } catc 阅读全文
摘要:
public class Utils { public static int StrToInt(string str) { return int.Parse(str); } #region MD5加密 public static string MD5(string pwd) { MD5 md5 = 阅读全文
摘要:
前端: <script src="~/Scripts/swfupload/swfupload.js"></script> <script src="~/Scripts/swfupload/swfupload.queue.js"></script> <script src="~/Scripts/swf 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text; namespace taobao{ class EncodingTransfer { static public string UnicodeToGB2312(strin 阅读全文
摘要:
public static string GetGBKEncode(string unicodeString) { Encoding Gbk = Encoding.GetEncoding(936); //创建两个不同的encoding对象 Encoding unicode = Encoding.Un 阅读全文
摘要:
public static string GetPage(string url, string encoding) { PublicVariables.NetworkConnection = false; int browserTimeout = PublicVariables.BrowserTim 阅读全文