how to get a column name from a dataset

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

greetings, how can i get a column name from a dataset?
objdt.tables(0).column(0)???

thanks in advance for the reply.
 
DataSet.Tables(0).Columns(0).ColumnName

greetings, how can i get a column name from a dataset?
objdt.tables(0).column(0)???

thanks in advance for the reply.
 
Note that autogenerated columns are not included in Columns collection.

Eliyahu
 

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

Back
Top