removeduplicate(2)
-
엑셀 VBA 중복제거 RemoveDuplicate
Dim rng as Range Set rng = Range(“A2:C6”) rng.RemoveDuplicates Columns:=Array(1, 2, 3,), Header:=xlNo 'A, B, C 기준 잡고 중복제거
2020.04.13 -
VB.NET Linq 특정 컬럼 하나만 중복제거 후 Array로 저장하기, vb.net remove duplicate to array for one column
Dim columns = From row In onebon_dt Group row By steps = row("Step").ToString() Into Group Where Group.Count > 0 Select steps Dim query = onebon_dt.AsEnumerable().GroupBy( Function(l) New With { Key .Item = l.Field(Of String)("Item") }).Select( Function(g) g.FirstOrDefault Dim row = output_dt.NewRow() row("Item") = g.Key.Item Return row End Function).CopyToDataTable()
2020.03.20