2015年1月27日

摘要: using System;using System.IO;using System.Text;namespace Core{ public class LogHelper { private static void writeLog(string log) {... 阅读全文
posted @ 2015-01-27 18:23 slu182 阅读(638) 评论(0) 推荐(0) 编辑
 
摘要: using IBatisNet.Common.Exceptions;using IBatisNet.DataAccess;using IBatisNet.DataAccess.DaoSessionHandlers;using IBatisNet.DataAccess.Interfaces;using... 阅读全文
posted @ 2015-01-27 16:07 slu182 阅读(413) 评论(0) 推荐(0) 编辑
 
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Security.Cryptography;using System.Text;using System.IO;... 阅读全文
posted @ 2015-01-27 14:07 slu182 阅读(1001) 评论(0) 推荐(0) 编辑
 
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.IO;using ServiceStack.Text;namespace W... 阅读全文
posted @ 2015-01-27 14:00 slu182 阅读(621) 评论(0) 推荐(0) 编辑
 
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Text;namespace WeiXin.Core{ public class ResponseHelp... 阅读全文
posted @ 2015-01-27 13:53 slu182 阅读(212) 评论(0) 推荐(0) 编辑
 
摘要: public static void LoadPicFromStream(string url) { string content = string.Empty; HttpWebRequest request = (HttpWebR... 阅读全文
posted @ 2015-01-27 13:50 slu182 阅读(133) 评论(0) 推荐(0) 编辑
 
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using YTO.WeiXin.Model;using YTO.Framework.Core;using Newtonsoft.Jso... 阅读全文
posted @ 2015-01-27 13:47 slu182 阅读(218) 评论(0) 推荐(0) 编辑
 
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Reflection;using YTO.WeiXin.Model;usi... 阅读全文
posted @ 2015-01-27 13:46 slu182 阅读(221) 评论(0) 推荐(0) 编辑
 
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace WeiXin.Core{ public class FileToData ... 阅读全文
posted @ 2015-01-27 13:44 slu182 阅读(130) 评论(0) 推荐(0) 编辑
 
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using NPOI.HSSF.UserModel;using NPOI.SS.UserModel;us... 阅读全文
posted @ 2015-01-27 13:39 slu182 阅读(191) 评论(0) 推荐(0) 编辑
 
摘要: //获取accessToken public static AccessToken GetAccessToken() { string AppID = JobBase.GetConfParamValue(ParamEnum.AppID); ... 阅读全文
posted @ 2015-01-27 13:37 slu182 阅读(315) 评论(0) 推荐(0) 编辑
 
摘要: //接口对接验证 public static string Validation(HttpContext context) { string token = JobBase.GetConfParamValue(ParamEnum.Token)... 阅读全文
posted @ 2015-01-27 13:35 slu182 阅读(284) 评论(0) 推荐(0) 编辑
 
摘要: public class XmlHelper { //从xml中获取MsgType public static string XMLSelect(string XML) { XmlDocument xmldoc = new... 阅读全文
posted @ 2015-01-27 13:29 slu182 阅读(303) 评论(0) 推荐(0) 编辑
 
摘要: public class CustomizeSession { private HttpSessionState _sesssion = HttpContext.Current.Session; public void SetSession(string ke... 阅读全文
posted @ 2015-01-27 10:22 slu182 阅读(297) 评论(0) 推荐(0) 编辑
 
摘要: --2.查看表结构desc wx_monitor_excption;--3.从表中查询数据select * from wx_monitor_excption;--7.双引号保持原来的格式select id "id1" from wx_monitor_excption;--6.查询当前系统的日期sel... 阅读全文
posted @ 2015-01-27 09:48 slu182 阅读(188) 评论(0) 推荐(0) 编辑
 
摘要: 一、向post请求中写入数据,最终保存在了HttpWebRequest.Params中: 1)如果存入的是IDictionary类型的字符串变量,如:“username=administrator”,则key=value; 2)如果写入的是string类型的变量,如"username",则ke... 阅读全文
posted @ 2015-01-27 09:46 slu182 阅读(1811) 评论(0) 推荐(0) 编辑