Using listview control to connect to access database in vb 2019.

Sheelnath Kekre 171 Reputation points
2021-01-30T04:12:21.007+00:00

I want to connect to access database table to list view control. I have three text boxes and save delete update buttons on the form in visual basic 2019.

Developer technologies | VB
0 comments No comments
{count} votes

Answer accepted by question author
  1. Karen Payne MVP 35,591 Reputation points Volunteer Moderator
    2021-01-30T16:15:31.4+00:00

    Hello @Sheelnath Kekre

    A ListView is better suited to displaying data rather than performing CRUD operations, and if you really want to go in this direction it will mean manually setting up data binding as a ListView does not support data binding. A DataGridView is best suited for these types of operations by using a DataSet, DataTable or a class which implements INotifyPropertyChanged were any path would be coupled with a BindingSource and a BindingList when used with a class implementing INotifyPropertyChanged.

    For example, viewing information about a table.
    62215-lv1.png

    Or viewing table information
    62137-lv2.png

    Even with this, here is one example, another another partial example.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.