I am trying to populate a DataGrid (using Visual Basic Express 2010) but am getting this baffling error:
The associated XAML is:
<DataGrid AutoGenerateColumns="True" Grid.Row="1" HorizontalAlignment="Stretch" Name="DataGrid1" VerticalAlignment="Stretch" />
Every example I have read, including the book "Pro WPF in VB 2010", states that the DataSource property has to be used.
Anyone have any ideas?
The associated XAML is:
<DataGrid AutoGenerateColumns="True" Grid.Row="1" HorizontalAlignment="Stretch" Name="DataGrid1" VerticalAlignment="Stretch" />
Every example I have read, including the book "Pro WPF in VB 2010", states that the DataSource property has to be used.
Anyone have any ideas?
Last edited: