how can i display selected records from my database(phpmyadmin) in listview using a search button? any reply will be a great help for me.. thank you.

A Listview can't accept a datasource. You'll have to put the data into a datatable and parse each row and add the data to the listview. You might find a DataGridView, which will accept a datasource, much easier to work with in this case. Then it's a matter of creating the right query to get the data you want.

commented: Exactly +4
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.