公司项目中的报表多是用水晶报表生成的。项目中水晶报表的填充数据源都是使用的DataSet或DataTable(这样很麻烦、很费时的,我暗暗想。)。我负责的模块也有大量的报表,想到的第一件事是使用.NET Objects作为数据源生成报表(详见水晶报表填充.Net Objects数据源)。奈何项目开发...
分类:
其他好文 时间:
2014-07-07 13:09:02
阅读次数:
171
#define BTS_SAFE_DELETE(POINTER) \do { if (POINTER != 0) { BTS_DELETE(POINTER); POINTER = 0;} \} while (0)注意:宏定义必须在一行,否则报错!\ 表示本行未结束, 没有该连接符时,直接换行编译器会...
分类:
其他好文 时间:
2014-07-03 10:25:27
阅读次数:
186
1、进入gdb调试模式 $ gdb xxx(程序名) 设置函数参数:set args xxx 查看函数参数:show args2、break 行号(打断点)3、delete 行号 (取消断点)4、next 单步运行5、step 进入函数内部6、finish 退出当前函数7、print 变量名/...
分类:
数据库 时间:
2014-07-03 06:18:16
阅读次数:
253
Given a sorted linked list, delete all duplicates such that each element appear only once.
分类:
其他好文 时间:
2014-07-02 00:33:49
阅读次数:
204
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
分类:
其他好文 时间:
2014-07-02 00:24:04
阅读次数:
284
之前一段时间,开始了php的研究,看了关于PDO的一些资料,发现不错,整理和总结一下,作为开发笔记,留待日后使用,《PHP开发笔记系列(一)-PDO使用》。 PDO是PHP Data Objects的简称,是一种数据库访问抽象层。PDO是用于多种数据库的一致接口。类比的说,PDO做的事情类似于J.....
分类:
Web程序 时间:
2014-07-01 22:11:20
阅读次数:
412
Execution Plan----------------------------------------------------------ERROR:ORA-01039: insufficient privileges on underlying objects of the viewSP2-...
分类:
其他好文 时间:
2014-07-01 19:43:46
阅读次数:
298
数据库修复工具 - 仅限 *.mdb 格式的Access 数据库引言:Access数据库操作有一严重Bug,当数据库文件内容添加?时,其文件容量随之添加?,但当删除数据库内容时,其数据库容量不会对应降低e.g 当xfile文件里的某张表xxtable须要删除时,运行sql语句 delete *...
分类:
数据库 时间:
2014-07-01 13:20:03
阅读次数:
260
Sort colors:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the...
分类:
其他好文 时间:
2014-07-01 12:57:43
阅读次数:
179
在 oracle 9i 之前的版本中, 如果用户因为误操作 delete 或 update 并提交了, 那么恢复这些用户的操作错误是极其低效的.为此, oracle 提供了闪回功能, 通过回退, 我们可以找回正确的数据.oracle 闪回查询特性通过闪回查询我们可以按照时间戳或SCN来向前查询, 获...
分类:
数据库 时间:
2014-06-30 21:44:06
阅读次数:
317