摘要: using Microsoft.Office.Interop.Excel; //引用 public void PrintPriviewExcelFile(string filePath) { Microsoft.Office.Interop.Excel.ApplicationClass xlApp 阅读全文
posted @ 2016-12-29 15:30 往事随风q 阅读(4808) 评论(0) 推荐(0) 编辑
摘要: //打印操作,套打、打印、预览 enum PrintFlag { /// <summary> /// 套打,只打印没有印刷的部分 /// </summary> CasePrint, /// <summary> /// 打印全部 /// </summary> PrintAll, /// <summar 阅读全文
posted @ 2016-12-29 15:22 往事随风q 阅读(1928) 评论(1) 推荐(0) 编辑
摘要: // WPS using EtApp = ET; using System.Reflection; using System.Runtime.InteropServices; using System.Configuration; //--Excel using EtAppExcel = Micro 阅读全文
posted @ 2016-12-29 15:20 往事随风q 阅读(2073) 评论(0) 推荐(0) 编辑
摘要: /// using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Windows.Forms; using System.Reflection; namespa 阅读全文
posted @ 2016-12-29 15:18 往事随风q 阅读(348) 评论(0) 推荐(0) 编辑
摘要: order by后面的形式却比较新颖(对于我来说哦),以前从来没看过这种用法,就想记下来,正好总结一下ORDER BY的知识。 1、ORDER BY 中关于NULL的处理 缺省处理,Oracle在Order by 时认为null是最大值,所以如果是ASC升序则排在最后,DESC降序则排在最前。 当然 阅读全文
posted @ 2016-12-26 14:03 往事随风q 阅读(21330) 评论(0) 推荐(0) 编辑