随笔分类 -  c#

使用jquery ajax 读取返回数据时在谷歌浏览器中的一个bug
摘要://设置客户端缓冲中文件过期时间为0,即立即过期。 context.Response.Expires = 0; //清空服务器端为此会话开辟的输出缓存 context.Response.Clear(); context.Response.Char... 阅读全文
posted @ 2013-02-28 12:24 五千年不曾见 阅读(418) 评论(0) 推荐(0)
利用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 阅读全文
posted @ 2011-01-02 10:42 五千年不曾见 阅读(2308) 评论(0) 推荐(0)