摘要: 如:在系統中某一用戶對一單據進行修改並准備在保存後對這筆單據執行其他動作,但在執行其他動作之前,另外一個用戶也對這種單據進行修改在這種情況下我是這樣子來做的: 在相關Table中加入一個字段LockSign 類型為timestamp 在加載這筆單據數據的時候,把LockSign的值記下,然後在他執行其他動作的時候判斷已取出的這個LockSign的值與現在DB中這個LockSign的值是否相同,如... 阅读全文
posted @ 2004-09-10 15:38 hi-justin 阅读(1298) 评论(15) 推荐(0) 编辑
摘要: ------------------------- 阅读全文
posted @ 2004-09-08 10:00 hi-justin 阅读(561) 评论(0) 推荐(0) 编辑
摘要: 有时, 为了让应用程序运行得更快,所做的全部工作就是在这里或那里做一些很小调整。啊,但关键在于确定如何进行调整!迟早您会遇到这种情况:应用程序中的 SQL 查询不能按照您想要的方式进行响应。它要么不返回数据,要么耗费的时间长得出奇。如果它降低了报告或您的企业应用程序的速度,用户必须等待的时间过长,他们就会很不满意。就像您的父母不想听您解释为什么在深更半夜才回来一样,用户也不会听你解释为什么查询耗... 阅读全文
posted @ 2004-09-07 11:06 hi-justin 阅读(1583) 评论(6) 推荐(0) 编辑
摘要: 終於又可以寫東東了,之前不能寫然後是因為公司路由器出問題了,網速太慢的原因 阅读全文
posted @ 2004-09-07 09:12 hi-justin 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 在那天 话已到嘴边 旧梦画面怎么会重演 寂寞 离我已不太远 再回想 泪静悄满脸 又再等 对镜自己说 为何失去这段情 还是痛 一痛继续痛 任由眼泪这样不停暗涌 分手已经 又恋这段情 这个夜已不再甜言蜜语 想再过几年 再回到从前 痛过爱过的心 怎会出现 任何事实 总有个开始 笑自己怎么会这样情痴 不想再贪恋 珍惜这感情 酒醉以后 苦叫自己醒醒 自己再醒醒 阅读全文
posted @ 2004-09-07 09:11 hi-justin 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 又長大了,哈哈 阅读全文
posted @ 2004-08-24 09:20 hi-justin 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 昨天下午在海裡泡了一下午,今天感冒了,:(難受ing 阅读全文
posted @ 2004-08-23 12:01 hi-justin 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 美好的一天,耶~~~~~~ 阅读全文
posted @ 2004-08-20 08:40 hi-justin 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2004-07-06 12:39 hi-justin 阅读(345) 评论(0) 推荐(0) 编辑
摘要: /* Notes: * Coupling between classes and class libraries is a major maintenance * headache. To ease this problem, often the client talks to an * abstraction description, which in turn calls an imple... 阅读全文
posted @ 2004-06-03 14:51 hi-justin 阅读(452) 评论(0) 推荐(0) 编辑
摘要: /* Notes: * Adapters are often used when client code is written to expect classes * from one framework, and it meant to work with classes from a totally * different framework. Assume you cannot chan... 阅读全文
posted @ 2004-06-03 14:51 hi-justin 阅读(445) 评论(0) 推荐(0) 编辑
摘要: /* Notes: * When the construction needed involves many objects, possible organised * in multi-faceted arrangements, the entire construction can be delegated * to an abstract factory. This exposes stan... 阅读全文
posted @ 2004-06-03 14:50 hi-justin 阅读(522) 评论(0) 推荐(0) 编辑
摘要: [亲情与爱情]亲情是血液,爱情是空气,两者缺一不可。[好兄弟与爱情之间]面临的永远都是错误的选择 阅读全文
posted @ 2004-05-31 22:40 hi-justin 阅读(399) 评论(0) 推荐(0) 编辑
摘要: //获得汉字的区位码 byte[] array = new byte[2]; array = System.Text.Encoding.Default.GetBytes("啊"); int i1 = (short)(array[0] - ''\0''); int i2 = (short)(array[1] - ''\0''); //unicode解码方式下的汉字码 array = Sy... 阅读全文
posted @ 2004-05-26 22:39 hi-justin 阅读(4957) 评论(2) 推荐(0) 编辑
摘要: http://www.sunnycbd.com/gm/sc.htm 阅读全文
posted @ 2004-05-26 22:02 hi-justin 阅读(1677) 评论(5) 推荐(0) 编辑