早上发现一个奇怪问题,跟踪一下,发现了如下问题,记录一下: Mysql 数据库的format?? 查看文档:Formats the number X to a format like‘#,###,###.##‘, rounded to D decimal places, and returns the resul...
分类:
数据库 时间:
2015-03-09 11:09:55
阅读次数:
199
代码如下:" xyz ".strip() # returns "xyz" " xyz ".lstrip() # returns "xyz " " xyz ".rstrip() # returns " x...
分类:
编程语言 时间:
2015-03-07 06:09:33
阅读次数:
174
一个vc6的项目放到vc8下重新编译这里死活过不去 查了些资料无果后来翻到一句老外的回答If AfxGetMainWnd is called from the application’s primary thread, it returns the application’s main window...
分类:
编程语言 时间:
2015-03-06 15:36:49
阅读次数:
251
Keywords: attribute, property, Html DOM element, javascript$("#textbox1").attr("tagName") returns undefined.$("#textbox1").prop("tagName") returns INP...
分类:
Web程序 时间:
2015-03-05 14:16:18
阅读次数:
159
/** ?* 生成36位GUID ?* @returns ?*/ function uuid() { ?? ?return ‘xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx‘.replace(/[xy]/g, function(c) { ?? ??? ?var r = Math.random() * 16 | 0, v = c == ...
分类:
Web程序 时间:
2015-03-05 13:11:16
阅读次数:
218
SQL Server分割字符串 ? 下面是创建了以“,”分割字符串的函数:
?create???function???f_splitstr(@SourceSql???varchar(8000),@StrSeprate???varchar(100))???
??returns???@temp???...
分类:
数据库 时间:
2015-03-04 17:11:32
阅读次数:
147
Description Stringld (left delete) is a function that gets a string and deletes its leftmost character (for instance Stringld("acm") returns "cm").Yo....
分类:
其他好文 时间:
2015-03-02 22:22:33
阅读次数:
186
很久之前就遇到这个问题了,今天又踩坑...如果想在C语言里面产生随机数,需要调用rand()
Description The C library function int rand(void) returns a pseudo-random number in the range of 0 to RAND_MAX. RAND_MAX is a constant whose default v...
分类:
其他好文 时间:
2015-03-02 16:57:47
阅读次数:
143
/** * 判断非空 * * @param val * @returns {Boolean} */function isEmpty(val) { val = $.trim(val); if (val == null) return true; if (val == undefined || va.....
分类:
其他好文 时间:
2015-02-22 23:05:27
阅读次数:
200
Implement strStr().
Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
Update (2014-11-02):
The signature of the function had been updated...
分类:
其他好文 时间:
2015-02-19 20:46:25
阅读次数:
145