i am trying to put information from my DataTable into an array. I am filtering the DataTabel until there is only one Column left. Each Column is a String value. I now want to put each String Value into one index of an array. I just can’t figure out how.
Thanks for the Help!
is your data has fixed size ??
Because arrays will allow you to store some fixed number of elements only. The benefit of List is that you can store any number of values at a time.
That is the reason i gave solution with List.
Can you please be more specific why you need only array ???
ViJay, you asked about my preference for an array.
When processing at table from the sqlserver,
I need to know when I am at the last row for my user.
So, on the current row, I need to compare the username on the current row,
to the user name on the next row.
an array would make this possible.
David
p.s. Maybe you have a way to do this comparison?