这是如何从DataColumn中检索列名:
原文链接:https://www.f2er.com/vb/255555.htmlMyDataTable.Columns(1).ColumnName
Dim name(DT.Columns.Count) As String Dim i As Integer = 0 For Each column As DataColumn In DT.Columns name(i) = column.ColumnName i += 1 Next
参考