http://msdotnetninja.blogspot.in/2013/12/wpf-browse-image-with-openfiledialog.html
i am able to upload a image through the above link now i want to retrive that uploded image to my data gried of wpf appliction i am using this code but that not working
<DataGrid AutoGenerateColumns="False" Height="248" HorizontalAlignment="Left" Margin="12,51,0,0" Name="dataGrid1" VerticalAlignment="Top" Width="479" Background="White" >
<DataGrid.Columns>
<DataGridTextColumn Header="Id" Binding="{Binding Path=Id}" Width="80"/>
<DataGridTextColumn Header="ImagePath" Binding="{Binding Path=ImagePath}" Width="80" />
<DataGridTemplateColumn Header="Image" Width="80" IsReadOnly="True" >
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Image Source="{Binding Path=ImageInBytes}" Width="50" Height="50" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
</DataGrid>