Jump to content
Xtreme .Net Talk

getting values from a certain subitem index in a listviewcontrol


Recommended Posts

Posted

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

Posted

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.

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...