Hi I am trying to create a DataGridView in code, not for display purposes but as a temporary holder for exporting to excel - but when I go to export from the DataGridView it does not contain any data. Any ideas? I have checked and the business object has data but it is just not being assigned to the DataGridView.
Your help would be appreciated.
Dim dgv As New DataGridView
dgv.AutoGenerateColumns = True
dgv.DataSource = MyBusinessObject