Column 'Col.' does not belong to table.
Dim v_Col As Integer Dim var As String Try v_Col = 0 For Each r_item As DataRow In dt_city.Rows var = Trim(r_item.Item("Col.")) Try v_Col= Trim(r_item.Item("Col.")) Catch exc0 As Exception v_Ktn = 0 End Try Next Catch ex As Exception MsgBox("column 'Col.' : " + ex.ToString) End Try
For Each r_item As DataRow In dt_city.Rows For Each column As DataColumn In dt_city.Columns MsgBox(String.Format("{0} = {1}", column.ColumnName, r_item(column)) Next Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)