I would like to fill in my DataGridView with a DataView that we can assume already contains data. I have been searching for a way to do this but all the solutions involve other data structures than a DataView or involve using other libraries that I am unable to encorporate in this project. Do I need to first convert the DataView to something else and use that to populate the DataGridView? Or is there something else I can use than a DataGridView that displays information in a similar way?
Share
Try setting the
DataSourceproperty ofDataGridViewto yourDataView.A
DataSourcecan implement either theIBindingListVieworIListinterfaces (with other options that are irelevant to this case.) that are both implemented by theDataView.For more information check the MSDN: