摘要:
//字符串 string result = "<?xml version=\"1.0\" encoding=\"utf-8\"?><speed><is_success>T</is_success><response><protocol><partner>123456</partner><sign>1 阅读全文
摘要:
/// <summary> /// des加密 /// </summary> /// <param name="text">加密内容</param> /// <param name="key">密码(可自己设置8位数密码)</param> /// <returns></returns> public 阅读全文
摘要:
JavaScriptSerializer s = new JavaScriptSerializer(); string jsonTexts = "{\"count\":\"5550\",\"status\": \"200\",\"message\": \"success\",\"show_data\ 阅读全文
摘要:
DataTable table = new DataTable(); StringWriter sw = new StringWriter(); string tabltitle = "客户名称,电话号码,导入时间,分组编号,透传号码,预测状态";//excel表头 sw.WriteLine(tab 阅读全文
摘要:
HttpRuntime.Cache.Insert("缓存key", "缓存content", null, DateTime.Now.AddMinutes(3), TimeSpan.Zero);//存入本地服务端string cacheContent = string.Empty; if... 阅读全文
摘要:
一:枚举的绑定 定义一个枚举 public enum ArticleCategory { /// <summary> /// 头条 /// </summary> Headlines = 10, /// <summary> /// 资讯 /// </summary> Imformation = 20, 阅读全文