P
Paul T
Hi,
I am looping through a dataset and each datarow has about 50 or so columns.
I can reference the column by using the index dr(0) or by name dr("column
name") and get the same result. What I want to do is be able to actually
extract the column name if I give it the index - the datasource is a csv
that may or may not change over time and I want to be able to handle it.
Logically, it is something like:
dr(0).ColumnName would return "column name" in this instance.
I am looping through a dataset and each datarow has about 50 or so columns.
I can reference the column by using the index dr(0) or by name dr("column
name") and get the same result. What I want to do is be able to actually
extract the column name if I give it the index - the datasource is a csv
that may or may not change over time and I want to be able to handle it.
Logically, it is something like:
dr(0).ColumnName would return "column name" in this instance.