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. :)

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.