摘要:
public static class CacheHelper { static Cache _cache = HttpRuntime.Cache; /// <summary> /// 获取缓存 /// </summary> /// <param name="key"></param> /// <r 阅读全文
posted @ 2016-06-22 00:40
zslm___
阅读(359)
评论(0)
推荐(0)
摘要:
public static class CustomerConfigHelper { public static object _lockObject = new object(); private static string GetCustomConfigValue(string key) { s 阅读全文
posted @ 2016-06-22 00:39
zslm___
阅读(233)
评论(0)
推荐(0)
摘要:
public static class EnumHelper { /// <summary> /// 枚举转换为字典 /// </summary> /// <typeparam name="T"></typeparam> /// <returns></returns> public static D 阅读全文
posted @ 2016-06-22 00:38
zslm___
阅读(809)
评论(0)
推荐(0)
摘要:
public static class IpHelper { /// <summary> /// 获取Ip /// </summary> /// <returns></returns> public static string GetIp() { string[] IP_Ary; string st 阅读全文
posted @ 2016-06-22 00:37
zslm___
阅读(254)
评论(0)
推荐(0)
摘要:
public class LogHelper { private static string _logFielPrefix = string.Empty; private static string LogPath { get { return GetLogPath(@"/log/"); } } / 阅读全文
posted @ 2016-06-22 00:36
zslm___
阅读(307)
评论(0)
推荐(0)
摘要:
public sealed class TypeHelper { #region Int16 / short public static short ToInt16(object o, short _default) { try { return Convert.ToInt16(o); } catc 阅读全文
posted @ 2016-06-22 00:34
zslm___
阅读(193)
评论(0)
推荐(0)
摘要:
public class Utils { public static int StrToInt(string str) { return int.Parse(str); } #region MD5加密 public static string MD5(string pwd) { MD5 md5 = 阅读全文
posted @ 2016-06-22 00:32
zslm___
阅读(392)
评论(0)
推荐(0)
摘要:
前端: <script src="~/Scripts/swfupload/swfupload.js"></script> <script src="~/Scripts/swfupload/swfupload.queue.js"></script> <script src="~/Scripts/swf 阅读全文
posted @ 2016-06-22 00:30
zslm___
阅读(537)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Text; namespace taobao{ class EncodingTransfer { static public string UnicodeToGB2312(strin 阅读全文
posted @ 2016-06-22 00:17
zslm___
阅读(545)
评论(0)
推荐(0)
摘要:
public static string GetGBKEncode(string unicodeString) { Encoding Gbk = Encoding.GetEncoding(936); //创建两个不同的encoding对象 Encoding unicode = Encoding.Un 阅读全文
posted @ 2016-06-22 00:16
zslm___
阅读(3273)
评论(0)
推荐(0)

浙公网安备 33010602011771号