Column names in Dataset


T

tshad

Where do I find the column names in a datatable that you get back from an
Sql Select statement, such as Select * from table?

If I had a Dataset as:

Dim ds as dataset

ds.Table(0).?

Thanks,

Tom
 
Ad

Advertisements

Ad

Advertisements

T

tshad

Cor Ligthert said:
Tom,

ds.Table(0).columns(x).Columnname

That was what I was looking for. I was actually looking at intellisense to
try to figure it out, but I didn't see Columnname. Maybe I was having a
little brain fade.

Thanks,

Tom
 

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

Top