I have this definition in a WinForm:
private BindingList<String> rollbackLog = new BindingList<String>();
I have a DataGridView with a single column and I want to bind that column to this list. The issue I have is I don't know what to assign to the DataPropertyName property of the column. ie, I don't think there's a property of "string" which will return the value?
Do I have to define my own class with a string property and then read from that?
Using a ListBox would be the preferred option given I have only a single property, but this is more out of interest in the end.