安裝在使用者電腦上的程式如果沒有自動更新的功能,就很難去掌握程式版本
常常不知道哪些使用者的電腦未更新,所以現在只好先利用使用者儲存一筆
交易資料時新增一個Table欄位儲存使用者端PC的HostName來判斷
哪些電腦的程式版本太舊(ex:沒有儲存一些新增的欄位就表示程式版本太舊)
至於 如何用T-SQL 來取得使用者端的IP呢?
就是用 select host_name() 這個SQL Command
2008年12月30日 星期二
2008年12月28日 星期日
2008年11月19日 星期三
Delete Files By Time[C#]
參考了以下兩篇文章寫了一個Console程式來清除PC Server機器上
Data 目錄中較舊的檔案,不然用人工去看幾千個子目錄和刪除,眼睛
會脫窗,也沒效率
1.Console App for deleting files in a specified directory based on user inputted timestamp
2.DeleteOld : Console Application to Delete Files by Age
Data 目錄中較舊的檔案,不然用人工去看幾千個子目錄和刪除,眼睛
會脫窗,也沒效率
1.Console App for deleting files in a specified directory based on user inputted timestamp
2.DeleteOld : Console Application to Delete Files by Age
2008年11月12日 星期三
2008年11月6日 星期四
OOP 好處
OOP的好處到底是什麼?講不出個所以然,找到以下參考資料
1.不要從程式語言學習「物件導向」!
2.物件 (Object) 的媽媽是 類別 (Class)?
3. 什麼是物件導向(Object Oriented)? (OO) (C/C++) (.NET) (C#) (Database) (Visual FoxPro)
4.Design Pattern - 真 OO无双 - 博客园
5.
1.不要從程式語言學習「物件導向」!
2.物件 (Object) 的媽媽是 類別 (Class)?
3. 什麼是物件導向(Object Oriented)? (OO) (C/C++) (.NET) (C#) (Database) (Visual FoxPro)
4.Design Pattern - 真 OO无双 - 博客园
5.
2008年9月3日 星期三
外幣組合式產品 notebook(1)
1.優利型:
(1)銀行 Buy 顧客Sell
(2)銀行要付 權利金 給顧客
(3)是否要執行幣轉 由銀行決定
若價格對銀行有利 銀行會執行幣轉Settle mode=Delivery
否則銀行會讓它Run-Out
2.保本型
(1)銀行 Sell 顧客 Buy
(2)顧客要 付 權利金給銀行
(3)是否要執行幣轉 由 顧客決定
若價格對 顧客有利 顧客 會執行幣轉
Settle mode ==>Delivery
否則顧客 會讓它Run-Out
參考資料
1.高收益組合式商品-遠東銀行
2.衍生性金融商品大展(九)-外幣組合式存款-玉山銀行
外幣組合商品-Money+理財家雜誌
匯率選擇權-彰化銀行
組合式外幣存款 選擇權兩邊賺-投資客日誌
(1)銀行 Buy 顧客Sell
(2)銀行要付 權利金 給顧客
(3)是否要執行幣轉 由銀行決定
若價格對銀行有利 銀行會執行幣轉Settle mode=Delivery
否則銀行會讓它Run-Out
2.保本型
(1)銀行 Sell 顧客 Buy
(2)顧客要 付 權利金給銀行
(3)是否要執行幣轉 由 顧客決定
若價格對 顧客有利 顧客 會執行幣轉
Settle mode ==>Delivery
否則顧客 會讓它Run-Out
參考資料
1.高收益組合式商品-遠東銀行
2.衍生性金融商品大展(九)-外幣組合式存款-玉山銀行
外幣組合商品-Money+理財家雜誌
匯率選擇權-彰化銀行
組合式外幣存款 選擇權兩邊賺-投資客日誌
2008年7月17日 星期四
[.net]To StringBuilder Or Not To StringBuilder
Jeff W. Bames
post this
discussed about the performance amoung string concatenate and StringBuilder
,for reference
post this
discussed about the performance amoung string concatenate and StringBuilder
,for reference
2008年5月29日 星期四
Generic Sorting & Thread
Agi 推薦
1.HyperDescriptor: Accelerated dynamic property access By Marc Gravell
2.Generic Multi-Field/Property Sorting for Lists of Business ObjectsBy Owen Emlen(owen654321)
Owen Emlen的另一篇文章
High Performance Multi-threaded Work Item / Event Scheduling Engine也相當值得一看
1.HyperDescriptor: Accelerated dynamic property access By Marc Gravell
2.Generic Multi-Field/Property Sorting for Lists of Business ObjectsBy Owen Emlen(owen654321)
Owen Emlen的另一篇文章
High Performance Multi-threaded Work Item / Event Scheduling Engine也相當值得一看
2008年5月22日 星期四
訂閱:
意見 (Atom)