tran.TransactionTime = bet.CreationDate.ToString() == "0001/1/1 0:00:00" ? DateTime.Now : bet.CreationDate;数据库里面DataTime时间类型字段,如果为null时,查询出来时间值为"0001/...
分类:
数据库 时间:
2014-07-07 09:23:42
阅读次数:
171
var sSrc, sDst: string;begin sSrc := EditSrc.Text; sDst := MD5Print(MD5String(sSrc)); EditDest.Text := sDst;
分类:
其他好文 时间:
2014-07-07 08:33:00
阅读次数:
244
if语句data b; set sashelp.class; if _n_ le 4; *如果if为真,则继续执行if后面的语句,最后输出满足if的条件的观测,如果if为假则立刻返回到data步开头继续执行下一条set语句; y = 'now'; /* y = 'now'; ...
分类:
其他好文 时间:
2014-07-06 23:53:00
阅读次数:
3010
Installing chrome on CentOS may be infeasible right now, becausechromeadoptsthe technique——C++11 which is unsupportedon CentOS.But we may choose to in...
分类:
其他好文 时间:
2014-07-06 21:17:00
阅读次数:
145
基础篇怎样创建一个线程受托管的线程与 Windows线程前台线程与后台线程名为BeginXXX和EndXXX的方法是做什么用的 异步和多线程有什么关联WinForm多线程编程篇我的多线程WinForm程序老是抛出InvalidOperationException ,怎么解决?Invoke,Begin...
分类:
编程语言 时间:
2014-07-06 20:18:39
阅读次数:
320
N-Queens IIFollow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.solution:#includ...
分类:
其他好文 时间:
2014-07-06 16:06:08
阅读次数:
198
??
PAC成本更新事务处理
DECLARE
l_itfs_rec mtl_transactions_interface% ROWTYPE;
BEGIN
--插入接口表
SELECT mtl_material_transactions_s.nextval
INTO l_txn_header_id
FROM dual;
v_date ...
分类:
其他好文 时间:
2014-07-04 09:28:03
阅读次数:
791
WebStorm注册码User Name:EMBRACELicense Key:===== LICENSE BEGIN =====24718-1204201000001h6wzKLpfo3gmjJ8xoTPw5mQvYYA8vwka9tH!vibaUKS4FIDIkUfy!!f3C"rQCIRbSh...
分类:
Web程序 时间:
2014-07-03 23:11:40
阅读次数:
297
有一个字符串首尾相连(m个字符),有n种字符组成,求一段能使包含n种字符的子串,并使长短最短,时间复杂度要求O(n),空间复杂度O(1)#include int foo(const char* str, int m, int n){ int hit[256], count = 0, begin...
分类:
其他好文 时间:
2014-07-03 20:28:46
阅读次数:
312
1、比如一个文件有两列,如下,现在要交换两列的位置:
awk 'BEGIN{ OFS="\t"}{print $2,$1}' t est.txt | sort > test1.txt...
分类:
系统相关 时间:
2014-07-03 13:33:11
阅读次数:
237