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

Sheelnath Kekre 121 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.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 questions
0 comments No comments
{count} votes

Accepted answer
  1. Karen Payne MVP 35,031 Reputation points
    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