JsonHelper Read More
posted @ 2012-11-08 14:59 Archosaur Views(429) Comments(0) Diggs(1) Edit
锯齿数组 Read More
posted @ 2012-09-10 11:32 Archosaur Views(240) Comments(0) Diggs(0) Edit
获取本机外网IP Read More
posted @ 2012-09-10 08:56 Archosaur Views(409) Comments(0) Diggs(0) Edit
日志帮助类(内容很杂) Read More
posted @ 2012-09-07 09:50 Archosaur Views(356) Comments(0) Diggs(0) Edit
public class XmlOp { //声明一个XmlDocument空对象 protected XmlDocument XmlDoc = new XmlDocument(); /// <summary> /// 构造函数,导入Xml文件 /// </summary> /// <param name="xmlFile">文件虚拟路径</param> public XmlOp(string xmlFile) { try { ... Read More
posted @ 2012-09-05 15:03 Archosaur Views(178) Comments(0) Diggs(0) Edit
报表中的SQL查询 Read More
posted @ 2012-09-05 14:55 Archosaur Views(226) Comments(0) Diggs(0) Edit
统计报表 Read More
posted @ 2012-08-17 15:57 Archosaur Views(262) Comments(0) Diggs(0) Edit
private static Stream ExportDataTableToExcel(DataTable sourceTable, string sheetName) { HSSFWorkbook workbook = new HSSFWorkbook(); MemoryStream ms = new MemoryStream(); ISheet sheet = workbook.CreateSheet(sheetName); IRow headerRow = sheet.Create... Read More
posted @ 2012-08-17 15:49 Archosaur Views(3871) Comments(0) Diggs(1) Edit
private static Stream ExportDataTableToExcel(DataTable sourceTable, string sheetName) { HSSFWorkbook workbook = new HSSFWorkbook(); MemoryStream ms = new MemoryStream(); ISheet sheet = workbook.CreateSheet(sheetName); IRow headerRow = sheet.C... Read More
posted @ 2012-07-13 16:42 Archosaur Views(439) Comments(0) Diggs(0) Edit
///<summary> ///将DataTable中的数据导出到指定的Excel文件中 ///</summary> ///<param name="page">Web页面对象</param> ///<param name="tab">包含被导出数据的DataTable对象</param> ///<param name="FileName">Excel文件的名称</param> public static void ... Read More
posted @ 2012-07-13 13:46 Archosaur Views(363) Comments(0) Diggs(0) Edit