上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 35 下一页
摘要: public static class CustomerConfigHelper { public static object _lockObject = new object(); private static string GetCustomConfigValue(string key) { s 阅读全文
posted @ 2016-06-22 00:39 zslm___ 阅读(223) 评论(0) 推荐(0) 编辑
摘要: public static class EnumHelper { /// <summary> /// 枚举转换为字典 /// </summary> /// <typeparam name="T"></typeparam> /// <returns></returns> public static D 阅读全文
posted @ 2016-06-22 00:38 zslm___ 阅读(781) 评论(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___ 阅读(237) 评论(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___ 阅读(301) 评论(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___ 阅读(185) 评论(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___ 阅读(385) 评论(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___ 阅读(532) 评论(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___ 阅读(532) 评论(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___ 阅读(3244) 评论(0) 推荐(0) 编辑
摘要: public static string GetPage(string url, string encoding) { PublicVariables.NetworkConnection = false; int browserTimeout = PublicVariables.BrowserTim 阅读全文
posted @ 2016-06-22 00:12 zslm___ 阅读(639) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 35 下一页