June 8th, 2009, 12:31 AM
How to bind data to a listview in WPF
I am working on a WPF application. In this I have a listview as
<ListView Height="271" HorizontalAlignment="Right" Margin="0,52,12,0" Name="lstvHistory" VerticalAlignment="Top" Width="181">
<GridViewColumn Header="Type" Width="50" />
<GridViewColumn Header="Description" Width="130"/>
In this dynamically I have to add one row at a time and later again one more row like that..
In this I have to add different data to the two columns of a row dynamically. For example for the first column I have to add 'MOVE' and second column 'LEFT' like this.
Please if any one have any idea how to do this please reply me.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!