回答編集履歴
1
修正
answer
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
```vb.net
|
4
4
|
For Each row As DataRow In table0.Rows
|
5
|
-
For
|
5
|
+
For Each col As DataColumn In table0.Columns
|
6
|
-
If IsDBNull(row(
|
6
|
+
If col.DataType = GetType(Decimal) AndAlso IsDBNull(row(col.Ordinal)) Then
|
7
|
-
row(
|
7
|
+
row(col.Ordinal) = 0
|
8
8
|
End If
|
9
9
|
Next
|
10
10
|
Next
|