原创 C# Excel模板導出數據,基於NPOI
Excel模板 Helper類 public class Helper<T> where T : class, new() { /// <summary> /// 使用模板導出Exc
原创 C#中GUID的生成以及格式
1、GUID是在System命名空間下的結構(struct)體,下面展示實例。 (1)創建一個GUID幫助類(GUIDHelper) using System; using System.Collections.Generic; usi
原创 漢字轉拼音類
using System.Text.RegularExpressions; /// <summary> /// 漢字轉拼音類 /// </summary> public c
原创 .Net WebService基於SoapHeader實現安全認證
主要是接收android傳遞的數據容易受到誤導,多留意參數變化。 一、新增一個類MySoapHeader using System; using System.Collections.Generic; using System.Linq