原创 點滴

1.給按鈕添加提示如果在C#中用一個tooltips控件,再在form_load裏,寫tooltips.SetToolTip   (this.button1, "按用戶 "); 如果是WebForm,那麼在按鈕的title屬性裏寫“按用戶”

原创 點滴——悟

如果你不擅長寫作,你就很難達到你的目標。 在開始編寫模塊代碼之前,寫一些僞代碼是非常好的方法。

原创 字符映射

界面控件的選項字面是有意義的字符串(nvarchar,利用枚舉關聯),保存時以選項號保存(也是以nvarchar保存),還原時再使用枚舉反向取值。

原创 VS2008:The breakpoint will not currently hit.

VS2008調試出現:The breakpoint will not currently be hit. The source code is different from the original version.   To allow

原创 雜記

 DataTable排序和過濾dt.DefaultView.Sort = "ID asc";//相當於Order By    dt.DefaultView.RowFilter = "ID>5";//相當於Where  問題: "

原创 MSSQL:convert

CONVERT(data_type,expression[,style]) convert(varchar(10),字段名,轉換格式)SELECT CONVERT(varchar(100), GETDATE(), 108) 16:06:26

原创 點滴

1.給按鈕添加提示如果在C#中用一個tooltips控件,再在form_load裏,寫tooltips.SetToolTip   (this.button1, "按用戶 "); 如果是WebForm,那麼在按鈕的title屬性裏寫“按用戶”

原创 我的友情鏈接

51CTO博客開發