Painkiller
Programmer
Hi all,
I'm trying to read out the name of a column in a strongly typed dataset, not the value of the column, but the NAME of the column. I am able to read out the name of the table by using the .Tablename property of the typed dataset, however I can't find a similar property for columns. The typed dataset does have a columns collection, where you can access a column by using its name or it's index in the collection, not what I want.
Does anyone know how to read out the column names?
Much appreciated.
I'm trying to read out the name of a column in a strongly typed dataset, not the value of the column, but the NAME of the column. I am able to read out the name of the table by using the .Tablename property of the typed dataset, however I can't find a similar property for columns. The typed dataset does have a columns collection, where you can access a column by using its name or it's index in the collection, not what I want.
Does anyone know how to read out the column names?
Much appreciated.