if语句if ( test condition ) statement1;else statement2;// comments/* comments ... */script level:直接在里面声明的变量相当与全局变量,可以直接在每个函数里面访问。在函数里面生命的变量只能在该函数...
分类:
编程语言 时间:
2014-08-27 20:08:18
阅读次数:
170
最近DEV搞的多,想把程序做得看起来专业点,所以稍微研究了一下。
本篇只记录如何实现在列表里面点击某一行可以打开这一行关联的子表内容。效果如下:
下面是实现过程:
1.设计器里面:
在MainView下面新建一个EntryView(create a new level) 这样这个gridControl里面就有2个gridView了。
然后打开你的设计器(Run Desig...
分类:
其他好文 时间:
2014-08-26 23:00:43
阅读次数:
365
The PRODUCT_USER_PROFILE
(PUP) table provides product-level security that supplements the user-level security provided by the SQL GRANT and REVOKE commands and user roles. To create the PUP table, l...
分类:
其他好文 时间:
2014-08-26 11:48:25
阅读次数:
272
自己写一些小代码的时候总是用fprintf来写log,感觉这样不太科学,还是写一个通用的简单带log level的log类,以后就拿来复用吧。这个类实现了非常简单的功能:如果指定了log文件path和name创建一个log文件,并将各种level的写入文件中,否则都打印到屏幕,格式如下:
[DEBUG] : xxxxx
[WARN] : xxxx
[MSG] : xxxxx
代码:
//...
分类:
其他好文 时间:
2014-08-25 22:57:15
阅读次数:
274
三、pm_test属性文件读写int pm_test_level = TEST_NONE;static const char * const pm_tests[__TEST_AFTER_LAST] = { [TEST_NONE] = "none", [TEST_CORE] = "core", [TE...
分类:
系统相关 时间:
2014-08-25 22:35:05
阅读次数:
334
1、java处理国际化片段 static ? ? { ? ? ? ? logger.log(Level.INFO, "开始加载语言环境"); ? ? ? ? // 默许中文 ? ? ? ? locale = new Locale(UtilsConstants.UTILS_LANGUAGE, ? ? ? ? ? ?...
分类:
编程语言 时间:
2014-08-25 21:19:35
阅读次数:
256
xUtils简介
xUtils 包含了很多实用的android工具。xUtils 支持大文件上传,更全面的http请求协议支持(10种谓词),拥有更加灵活的ORM,更多的事件注解支持且不受混淆影响...xUitls 最低兼容android 2.2 (api level 8)
目前xUtils主要有四大模块:
DbUtils模块:
android中的orm框架,一行代...
分类:
移动开发 时间:
2014-08-25 17:03:44
阅读次数:
368
AndroidAsync is a low level network protocol library. If you are looking for an easy to use, higher level, Android aware, http request library, check out?Ion?(it is built on top of AndroidAsync)....
分类:
移动开发 时间:
2014-08-24 20:57:53
阅读次数:
358
简述今天在写 sql时遇到一个情况,表 A中的 ID 是按照 TREE结构存储的。现在需要和表 B中的 NODE_ID连接,取出 B中 NODE_ID可以和 A中任意一个 level的 NODE_ID连接的信息。但是表 B中的 NODE_ID 具体对应到表 A中哪个 level是未知的。对此,最先想...
分类:
数据库 时间:
2014-08-24 15:21:02
阅读次数:
480