这两天项目上用Aspose导出Excel来着。开始感觉挺简单的,但是实际操作起来还是挺复杂的,调试占的时间很长。主要是动态生成列、合并单元格、调样式占了很长时间,还是总结一下吧。 基础操作: //EXCEL模板路径 var filePath = HttpContext.Current.Serv...
分类:
Web程序 时间:
2014-07-07 13:06:16
阅读次数:
214
The Methods to Get Current TimestampA. CACurrentMediaTime()B. gettimeofdayC. CFAbsoluteTimeGetCurrentD. [NSDate date] timeIntervalSince1970]E. mach_ab...
分类:
移动开发 时间:
2014-07-02 23:53:15
阅读次数:
443
在编码中,我们常常会碰到一个概念:上下文,如 线程上线文(Thread.CurrentContext),Http上下文(HttpContext.Current)等,那么上下文到底是什么,它们存在的意义是什么?一:上下文1:来源可能无从追溯,但是早期 上下文 这个概念,可能来自于 CPU时间片 的切换...
分类:
其他好文 时间:
2014-07-01 21:30:08
阅读次数:
273
反向数据库File - Reverse - Database - DBMS - Using a data source改变数据库Database - Change Current -DBMS生成数据脚本Database -Generate Databse
分类:
其他好文 时间:
2014-07-01 21:20:34
阅读次数:
215
【IEnumerator】 用于遍历一个对象,IEnumerator在System.Collections命名空间中。 public interface IEnumerator { object Current { get; ...
分类:
其他好文 时间:
2014-07-01 21:15:14
阅读次数:
185
查看所有postgre语句执行时间:select procpid, start, now() - start as lap, current_query from (select backendid, pg_stat_get_backend_pid(s.backendid) as procpid, ...
分类:
其他好文 时间:
2014-07-01 17:35:56
阅读次数:
810
1操作系统接口os模块提供了一系列与系统交互的模块:>>> os.getcwd() # Return the current working directory'/home/minix/Documents/Note/Programming/python/lib1'>>> os.chdir('~/p....
分类:
编程语言 时间:
2014-07-01 14:07:44
阅读次数:
249
sd5:0:0:0:[sdd]Unhandledsensecodesd5:0:0:0:[sdd]Result:hostbyte=DID_OKdriverbyte=DRIVER_SENSEsd5:0:0:0:[sdd]SenseKey:MediumError[current][descriptor]Descriptorsensedatawithsensedescriptors(inhex):720311040000000c000a8000000000004c69a958sd5:0:0:0:[sdd]Add.Se..
分类:
其他好文 时间:
2014-07-01 09:55:07
阅读次数:
856
昨天客户突然要求将某个角色的所有权限都不分页的放在一个页面修改,本地测试OK,通过;但发布后,点击该页面提交后一直报下面的错误:异常信息: Operation is not valid due to the current state of the object.错误源:System.Web堆栈信息...
分类:
其他好文 时间:
2014-06-30 22:55:35
阅读次数:
407
#!/bin/sh
#****************************************************************#
# ScriptName: gccall.sh
# Function: compile *.c in current dir
#***********************************************************...
分类:
其他好文 时间:
2014-06-30 08:05:59
阅读次数:
146