Smart    Lucky

Smart Lucky

  • NA
  • 555
  • 639.5k

DataGrid Binding Problem

Nov 29 2011 3:13 AM
Hi

I am using databinding with datagrid and using custom columns and ,there are three calumns and two are simple text data and in one i want to put image controll 
but image controll is not putting is it possoble can any one help me...?



 <hidaya:DataGrid Margin="30,43,255,176" Height="130" Width="250" x:Name="gridData" AutoGenerateColumns="False">
            <hidaya:DataGrid.Columns>
                <hidaya:DataGridTextColumn Header="Name" CanUserReorder="True" CanUserResize="True" Binding="{Binding Name}" CanUserSort="True" />
                <hidaya:DataGridTextColumn Header="Address" CanUserReorder="True" CanUserResize="True" Binding="{Binding Add}" CanUserSort="True"/>
                <hidaya:DataGridTextColumn Header="Image" CanUserReorder="True" CanUserResize="True" CanUserSort="True">
                    //Want to put image here...............
                </hidaya:DataGridTextColumn>
            </hidaya:DataGrid.Columns>
        </hidaya:DataGrid>

Answers (2)