2016年3月10日
摘要:
User-Agent: FiddlerContent-Type: application/json; charset=utf-8Content-Length: 138ContentType: application/x-www-form-urlencoded
阅读全文
posted @ 2016-03-10 09:35
Haustbule
阅读(163)
推荐(0)
2015年8月25日
摘要:
using System;using System.Collections.Generic;using System.Data;using System.Linq;using System.Reflection;using System.Text;using System.Threading.Tas...
阅读全文
posted @ 2015-08-25 17:11
Haustbule
阅读(191)
推荐(0)
摘要:
Type type = typeof(Model.Users).GetProperties()[i].PropertyType; //判断type类型是否为泛型,因为nullable是泛型类, if (type.IsGenericType && type.GetGenericTypeDefinit...
阅读全文
posted @ 2015-08-25 16:58
Haustbule
阅读(218)
推荐(0)
2015年5月21日
posted @ 2015-05-21 09:11
Haustbule
阅读(203)
推荐(0)
2015年5月5日
posted @ 2015-05-05 18:52
Haustbule
阅读(698)
推荐(0)
2015年4月20日
摘要:
//文件地址 var path = Utils.GetQueryStringValue("path");//带有http //下载文件到前台文件夹Music下 WebClient client = new WebClient(); ...
阅读全文
posted @ 2015-04-20 13:06
Haustbule
阅读(199)
推荐(0)
2014年12月5日
摘要:
最近在做关于PDF文档添加水印的功能,折腾了好久,终于好了。以下做个记录:首先会用到iTextSharp组件,大家可以去官网下载,同时我也会在本文中附加进来。代码中添加引用为:using System;using System.Collections.Generic;using System.Lin...
阅读全文
posted @ 2014-12-05 10:38
Haustbule
阅读(642)
推荐(0)
2014年9月18日
摘要:
public static string Obj2Json(T data) { try { System.Runtime.Serialization.Json.DataContractJsonSe...
阅读全文
posted @ 2014-09-18 14:43
Haustbule
阅读(142)
推荐(0)
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Collections; using Syst...
阅读全文
posted @ 2014-09-18 14:40
Haustbule
阅读(120)
推荐(0)
摘要:
public DataTable IListOut(IList ResList) { DataTable TempDT = new DataTable(); //此处遍历IList的结构并建立同样的DataTable System.Reflection...
阅读全文
posted @ 2014-09-18 14:34
Haustbule
阅读(179)
推荐(0)