This is what I have tried:
xml Code:
in my XAML Code <GridView> <GridViewColumn Header="First Name" DisplayMemberBinding="{Binding FirstName}"/> <GridViewColumn Header="Last Name" DisplayMemberBinding="{Binding Surname}"/> <GridViewColumn Header="Date Of Birth" DisplayMemberBinding="{Binding DateOfBirth}"/> <GridViewColumn Header="Photo" DisplayMemberBinding="{Binding IdPic}"/> </GridView> </ListView.View> </ListView> <Image Height="34" HorizontalAlignment="Left" Margin="33,269,0,0" Name="imgPic" Stretch="Fill" VerticalAlignment="Top" Width="42" Source="/DataBrowser;component/Images/smoking_av.jpg" />
All I am trying to do is get the image displayed in the grid control.
The next step is to fetch this from a database and then populate the grid.




Reply With Quote