C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2722
Number of posts: 5749

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Search items in a listbox Posted by porodoro on 23 Jul 2006 at 8:34 AM
Hi! ,
Can someone help me on how to search strings in a listbox ?
I used the findstring , but its case sensitive.Any ideas?
thanks.
Report
Re: Search items in a listbox Posted by karthikeyanMCP on 25 Jul 2006 at 12:56 AM
Hi,
Could you please brief the scenario ?


: Hi! ,
: Can someone help me on how to search strings in a listbox ?
: I used the findstring , but its case sensitive.Any ideas?
: thanks.
:

Report
Re: Search items in a listbox Posted by porodoro on 25 Jul 2006 at 9:31 AM
: Hi,
: Could you please brief the scenario ?
:
:
: : Hi! ,
: : Can someone help me on how to search strings in a listbox ?
: : I used the findstring , but its case sensitive.Any ideas?
: : thanks.
: :
:
:
Well , i've got a listbox with strings , eg:

listbox1.items.add("Hello ..");
listbox1.items.add("A listbox is an array of strings.. or not?? ");
listbox1.items.add("Call me as soon as possible");

I want , somehow , to search for the word "STRINGS" in the list,
or the phrase "is an array".
How can i do this ? the msdn example isnt that usefull , coz its case sensitive (it searches only the items one by one).





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.