//直接绑定DataTable string pnsql = @"select pId,pTypeId,pName,pCellPhone,pHomePhone,phoneType.ptName from phoneNum,phoneType where...
delegate string MyDele(string str); string MyFun(string str) { return str; } private void Form1_Load(ob...
分类:
其他好文 时间:
2015-01-19 12:14:14
阅读次数:
146
java中,string类型非常强大,任何类型和string类型相加都变成了string类型。但是c++中string功能就比较少int转string有两种方式1:stringstream; int a=3; stringstream ss; ss<<a; string st...
分类:
编程语言 时间:
2015-01-19 10:49:08
阅读次数:
170
一 domain class 中标示class Menu implements Comparable{ String id; String name; }static constraints = { //1 id bindable : true name nullable...
分类:
其他好文 时间:
2015-01-19 10:48:54
阅读次数:
150
$val) $string[$key] = new_addslashes($val); return $string;}/** * 返回经stripslashes处理过的字符串或数组 * @param $string 需要处理的字符串或数组 * @return mixed */functio...
分类:
Web程序 时间:
2015-01-19 10:48:39
阅读次数:
451
std::string stringf(const char* format, ...){ va_list arg_list; va_start(arg_list, format); ...
分类:
其他好文 时间:
2015-01-19 10:45:14
阅读次数:
97
加密和解密是针对二进制进行操作的,因为代码中对结果或者参数进行了16进制、2进制转化,避免输出解密后的结果乱码。// AES加密 public static String encryptAccessToken(String content, String password) { ...
分类:
编程语言 时间:
2015-01-19 10:42:17
阅读次数:
206
A string S consisting of N characters is considered to be properly nested if any of the following conditions is true:S is empty; S has the form "(U)" ...
分类:
其他好文 时间:
2015-01-19 10:40:09
阅读次数:
217
以连接MS SQL Server为例
步骤:
1 创建项目
2 导入数据库的驱动jar包
3 在src下面创建四个包
db :连接数据库的工具类
连接数据库需要四个条件:
1、DRIVER_STRING,连接数据库驱动
2、UR_STRING,URL地址,并且设定连接到哪个数据库...
分类:
数据库 时间:
2015-01-19 09:25:10
阅读次数:
165
经过一段时间的开发,发现myeclipse或eclipse有一些快捷键应该值得拥有。慢慢总结。
一.万能的补全:alt+/.
1.输入Syso,补全System.out.println();
2.输入main,补全public static void main(String[] args) {
}
二,注释:ctrl+/
1.ctrl+/单行注释
2.c...
分类:
系统相关 时间:
2015-01-19 09:22:36
阅读次数:
134