System.Data.DataTable

J

John Smith

This works:

Dim dt As System.Data.DataTable
Dim r As System.Data.DataRow = dt.Rows.Item(i)
i = r.Item(2)

but I would like to get column value as string and it doesn't work because
column name is ows_Rok_x0020_izvedbe (when read from XML) and I don't know
it's name in DataTable.

How can I list all colum names in one DataTable?

Please help and sorry for incomplete info.
 
J

John Smith

but I would like to get column value as string and it doesn't work because
column name is ows_Rok_x0020_izvedbe (when read from XML) and I don't know
it's name in DataTable.

I wanted to say that I would like to retirive column value by entering
column name not by index ( r.Item(2)
). The problem is that I don't know column name and I would like somehow to
list all column names. How can I do that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,270
Latest member
TopCryptoTwitterChannels_

Latest Threads

Top