随笔分类 - c#
使用jquery ajax 读取返回数据时在谷歌浏览器中的一个bug
摘要://设置客户端缓冲中文件过期时间为0,即立即过期。 context.Response.Expires = 0; //清空服务器端为此会话开辟的输出缓存 context.Response.Clear(); context.Response.Char...
阅读全文
利用OpenOffice将多种文档转换为PDF源码
摘要:一直在解决PDF文档转换的问题,今天无意中搜索到老外的一段代码,好象可以解决,先记下来.好象注释还不是英文的,有明白的解释一下代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1usingSystem;2usingSystem.Text;3usingSystem.Diagnostics;4usingSystem.Threading;5usingTyma.ToPDF.Support;6//7usingunoidl.com.sun.star.lan
阅读全文
浙公网安备 33010602011771号