I want to bind my DataGridView WinForms control to a sqlite db so that my UI updates when the database updates. Using the designer is currently broken in VS2017 and higher according to How to bind a DataGridView to a SQLite Database? which I can easily reproduce myself. Note that I'm using the latest System.Data.Sqlite nuget.
How can I do this programmatically instead?