How does one bind to an List<DataRow> collection in WPF XAML?
- by Elan
Using a DataTable or DataView, one can specify the binding in XAML for example as follows:
<Image Source="{Binding Thumbnail}" />
In my case I have created a List collection of DataRow objects and the above is not working. This is my data source:
List<DataRow>
I could of course convert the List< to a DataTable, but I am curious if there was a way to specify the binding in XAML to access the "Thumbnail" column within the DataRow that is stored in a List< collection.
Elan