System.Data.DataTable

  • Thread starter Thread starter John Smith
  • Start date Start date
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.
 
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

Similar Threads


Back
Top