用ASP .NET讀取 .msg檔

如何用ASP .NET讀取 .msg檔,可以呼叫下列的程式來用,
MsgReader – DLL
http://www.codeproject.com/Articles/19571/MsgReader-DLL
GetBodyText這個函式就可以取得郵件內容囉!

SQL SERVER 找「上一筆」、「下一筆」的值

寫程式的時候,可能會需要連續編輯或閱覽資料,會用到【上一筆】、【下一筆】的動作,
如果TABLE有連續編號的欄位,當然用該欄位判斷即可,
但通常都會下ORDER BY排序,那就不能用原本的編號啦~

Read the rest of this entry »

Silverlight 控制 HTML 項目

作  者:羅慧真 精誠資訊 恆逸教育訓練中心 資深講師
技術分類:程式設計

Read the rest of this entry »

SQL SERVER:Select 資料轉成 HTML

透過SQL SERVER的XML物件匯出成HTML的格式,
要小心,資料太多可能會造成欄位字串長度過長,後面的文字就會被截斷囉!
(nVARCHAR(max) 最長為4000個字)

Read the rest of this entry »

SQL Server Database Mail

— 啟動 Database Mail
exec sp_configure ‘show advanced options’, 1
reconfigure
exec sp_configure ‘Database Mail XPs’, 1
reconfigure
exec msdb.dbo.sysmail_start_sp;

Read the rest of this entry »

« Older Entries   Newer Entries »