原创 .NET 程序中的異常處理

  publicstaticvoidMain(string[] args) {      // Add the event handler for handling UI thread exceptions to the event. 

原创 一些工具函數--WordDocHelper

public class WordDocHelper : IDisposable { private Microsoft.Office.Interop.Word.Application app;

原创 ref & out 關鍵字的區別

            //1) out parameters return compiler error if they are not assigned a value in the method. Not such with ref

原创 JQuery基礎知識(一)

1. HTML 負責頁面內容,CSS 負責頁面式樣,JS 負責頁面行爲 2.$(document).ready(function(){ }); 定義頁面完全裝載完成後,需要執行的方法,可以簡寫爲:$(function(){}); 3.$(

原创 一些工具函數--JSONHelper

public sealed class JSONHelper { public static string Serialize<T>(T obj) { DataContr

原创 2012 SunGard China HE 裁員大事記 ---持續跟新中

        2012 SunGard China HE 裁員大事記 2012/2/28 週二   早上 9點 發現部門所有服務器 “失蹤”,無法使用公司域,SVN 被禁止訪問,包括Helios 在內的內外資源無法訪問,打印機“失靈”,

原创 personal resume template

Position Applied: Senior Software Engineer/Project Manager Profile No.:     Strength Summary:   l  Been work

原创 一些工具函數-- 壓縮與解壓

public class FolderZipper { public static void ZipFiles(string inputFolderPath, string outputPathAndFile,

原创 Jquery 調用asp.net ajax (web service/static page method)的示例(二)---複雜參數

示例二(複雜參數的情況)     對於這種情況下的調用,客戶端使用到一個小技巧,即:創建DTO 對象 (Data transfer object  ),個人常稱之爲 JSON包裝對象 前臺頁面 代碼 UseDTO.aspx (示例代碼是含

原创 .NET4.0環境下要使用.NET2.0及.NET3.5的程序

<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup>     =================

原创 SQL 2005 xml 處理的一些sample

  USE Test --Create 2 tables as an example CREATE TABLE ExampleTable ( [ID] int PRIMARY KEY ,[Name] nvarchar(256) ) CRE

原创 Difference between SCOPE_IDENTITY(), @@IDENTITY, and IDENT_CURRENT

 原文:http://www.go4coding.com/post/2011/06/16/Difference-between-Scope_Ident

原创 USE lambda expression

          static void Main(string[] args)         {             #region "Building a List of Customers"             Li

原创 Hosting or deploying existing ASP.Net Web Application on Linux

 原文:點擊打開鏈接 The very line written above brings anxiety & confusion on our fa

原创 C# Delegate ,Anonymous methods,lambda expression

using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 {     class Program