on my project, i have a search textbox and also a listview. What I want to do is when a user type in the search textbox, it will automatically list all of possible results in the listview. For example, if I type letter 'a' in the search textbox, it will lists the results in the listview. And if I add another letter/s to 'a', for example 'nd' to become 'and', it will refresh a new list of results.

thanks in advance. :)

Recommended Answers

For that you need to bind ur listview with datasource, and in textchanged event of search textbox sort the datasource using dataview and again bind it to listview.

Jump to Post

All 2 Replies

For that you need to bind ur listview with datasource, and in textchanged event of search textbox sort the datasource using dataview and again bind it to listview.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.