Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search ListBox + Convert ListBox.item to string
#1
I'm working on a project and I have two questions. I searched alot for it but nothing found:

1) how to convert a listbox item to a string (only one item)
2) how to search a listbox and then select the first item that matches the string searching for
... and if it's possible add a complete match option to it

Hope you can help

Greets!

PS: I already know how to search for item <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->
[code2=vbnet]ListBox1.Items.Contains(TextBox1.Text)[/code2]


Messages In This Thread
Search ListBox + Convert ListBox.item to string - by brco900033 - 09-12-2012, 09:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NullReferenceException when adding item to generic list brco900033 1 9,481 06-17-2014, 12:16 AM
Last Post: brandonio21
  Problems with dividing a string brco900033 6 22,164 10-26-2013, 07:31 AM
Last Post: brco900033
  Convert 2 lines to one brco900033 2 11,187 02-23-2013, 11:04 AM
Last Post: brco900033
  How to write string query on multiple lines kismetgerald 1 8,543 08-29-2012, 04:01 PM
Last Post: brandonio21
  open text - URL document from listbox and determin which fil Bradley 4 15,951 04-25-2012, 03:07 PM
Last Post: brandonio21
  Outputting a string with quotation marks in it. openeXpressions 15 45,099 12-20-2011, 09:24 PM
Last Post: openeXpressions

Forum Jump:


Users browsing this thread: 1 Guest(s)