I need to read the contents of a dropdown listbox up to a space and then eliminate everything to the right of the space(including the space). How do I do this
The drop down list has an Items property which I believe you can use to
get the items in the drop down list. You can cycle through these items and
parse the strings as you see fit.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Dave Bailey said:
I need to read the contents of a dropdown listbox up to a space and then
I need to read the contents of a dropdown listbox up to a space and
then eliminate everything to the right of the space(including the
space). How do I do this?
Thuis code is part of a select statement which is the where clause. It appears that this code does not trim the drop down list box to the information that is on the left side of the first space.
Thuis code is part of a select statement which is the where clause.
It appears that this code does not trim the drop down list box to the
information that is on the left side of the first space.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.