getting values from a certain subitem index in a listviewcontrol

xorl

Newcomer
Joined
Nov 18, 2008
Messages
2
Hey

I have a small problem and i hope someone can help me with this...

i want to populate every string value in a certain listview subitem index to either a collection or stringbuilder. However the subitem index can be quite large in number and size. right now i have almost 200 items in that particalular index. How would i populate that amount of strings. An ordinary string array? not sure how many items a string array at maximum. Since that number can change to alot bigger i need an alternative like collection or stringbuilder.

Thanks

regards
/xorl
 
If you are on v2.0 or newer you can bind to a System.Collections.Generic.List<String>. I have not seen issues binding with large collections.

I believe that an Array of Type String (String[] s) can have int.MaxValue strings in it, which is a very large number.
 
Hey

Thx a lot mate. Wasnt sure how many it could hold. Generics is the best solution here i think.

/xorl
 
Back
Top