【发布时间】:2018-04-10 13:38:03
【问题描述】:
在我的 DataTable 中,我有一列是:
With colA
.DataType = System.Type.GetType("System.String")
.ColumnName = "colA"
End With
我有一个名为 strTest 的字符串数组,而 strTest(6) 是“00”。
我尝试这样做:
colA.Expression = strTest(6)
没有错误,但不是将值设置为“00”,而是写入“0”。
我的错误在哪里?
谢谢:)
【问题讨论】:
标签: vb.net datatable linq-expressions datacolumn