By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,106 Members | 2,335 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,106 IT Pros & Developers. It's quick & easy.

System.Data.DataTable

P: n/a

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.
Mar 4 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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?
Mar 4 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.