摘要: 參考網址:http://www.dotblogs.com.tw/dotjum/archive/2008/04/08/2618.aspx 先在SQL SERVER建立一個字串拆解成datatable 的StoredProcedure,然後在其他的StoredProcedure呼叫此StoredProcedure即可。1.SQL SERVER 連接字串拆解成Datatable StoredProcedure範例:"我,他,你" 結果:我他你代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.Cod 阅读全文
posted @ 2010-12-14 10:14 wangman 阅读(471) 评论(0) 推荐(0)
摘要: 1.官方介紹使用方法,其中第四跟第五步驟如下:http://www.linqpad.net/EntityFramework.aspx1. 首先先新增一個 Class 專案2.新增 ADO.NET Entitiy Data Model 阅读全文
posted @ 2010-08-16 09:14 wangman 阅读(252) 评论(0) 推荐(0)
摘要: 1.此方法等同 SQL Left Outer Join 效果 EF V1(.FrameWork 3.5)所能使用的方法.Dim qbase = From sp In ctx.SysPhrase _Where (sp.Owner = DivCode Or sp.Owner = FormCode) _ And sp.PhraseType = PhraseType And sp.Enabled = T... 阅读全文
posted @ 2010-07-23 08:30 wangman 阅读(1312) 评论(0) 推荐(0)
摘要: 最近在寫datagridview的CheckBox Header Column,網路上大部分都是c#版,所以我把他轉成vb.net版CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--PublicClassLISDataGridViewExtend... 阅读全文
posted @ 2009-08-31 08:31 wangman 阅读(765) 评论(0) 推荐(1)