原创 SQL 2005身份證函數包含驗證和15位轉18位
摘自:http://soft.zdnet.com.cn/software_zone/2008/0324/781260.shtml 只需使用下面的語句,即可列出所有不符的身份證號碼。 SELECT [姓名] ,[身份證號] ,b.*
原创 C# Stream 和 byte[] 之間的轉換
/* - - - - - - - - - - - - - - - - - - - - - - - - * Stream 和 byte[] 之間的轉換 * - - - - - - - - - - - - - - - - - - - -
原创 顏色轉換
public Color ToColor(string color) { int red, green, blue = 0; char[] rgb;
原创 SQL Server執行計劃的理解
原文地址:http://www.cnblogs.com/kissdodog/p/3160560.html 要理解執行計劃,怎麼也得先理解,那各種各樣的名詞吧。鑑於自己還不是很瞭解。本文打算作爲只寫懂的,不懂的懂了才寫。 在開頭
原创 DataGridView增加序號
private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) { Solid