質問編集履歴
1
加筆
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,8 +10,15 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
AとBの列だけDistinctしてA~Eまで表示したい。
|
13
|
+
-------------
|
14
|
+
A B C D E
|
15
|
+
-------------
|
16
|
+
1 1 a a a
|
17
|
+
1 2 a a a
|
18
|
+
2 2 a a b
|
13
19
|
|
14
20
|
|
21
|
+
|
15
22
|
DataView dv = dt.DefaultView;
|
16
23
|
DataTable dtdistinct = dv.ToTable("dt", true, "A", "B");
|
17
24
|
このように書くとAとBだけしか表示できないし、
|