Long weekend, too much beer, need code help please

  • Thread starter Thread starter Aaron
  • Start date Start date
A

Aaron

I have an asp.net application where I am sucessfully filling a dataset. The
DS contains 1 column and multiple rows. I would like to add all of the rows
to an array. How is this done?

Thanks,
Aaron
 
Aaron,

It is very easy, however I am curious why?

To make the array it is just something (assuming it is one table) and the
column contains strings roughly typed in this message
\\\
dim str(ds.datatable(0).rows.count) as String
for i as integer = 0 to ds.datatable(0).rows.count -1
str(i) = ds.datatable(0).rows(i).ToString
next
///

I hope this helps, however maybe you can tell me why?

Cor
 

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