Listview into Database
How to save listview text items into database and then retrive them, i have this code but with mistakes while retrieving items from the DB "run time error"
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
jingePosted Oct 26, 2009, 2:26 AM
Here's an article describing how to fill a listview from database.
http://www.akadia.com/services/dotnet_listview_sort_dataset.html
However, I would suggest you use DataGridView which has excellent feature known as databinding. It saves you writing lots of filling and retreving code.
Here's the article which can help you for a quick start:
http://www.switchonthecode.com/tutorials/csharp-tutorial-binding-a-datagridview-to-a-database
If you like my answer, please don't forget to accept it as answer.