xorl Posted November 18, 2008 Posted November 18, 2008 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 Quote
Nate Bross Posted November 19, 2008 Posted November 19, 2008 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. Quote ~Nate� ___________________________________________ Please use the [vb]/[cs] tags on posted code. Please post solutions you find somewhere else. Follow me on Twitter here.
xorl Posted November 19, 2008 Author Posted November 19, 2008 Hey Thx a lot mate. Wasnt sure how many it could hold. Generics is the best solution here i think. /xorl Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.