VS2008 WPF ListView绑定数据结果DataSet

 

ListView定义如下:

<ListView Margin="5" BorderBrush="Blue" Name="lstproducts" BorderThickness="3"  Background="Snow" Foreground="Magenta" OpacityMask="ForestGreen">
        <ListView.View>
            <GridView>
                <GridView.Columns>
                    <GridViewColumn Header="ID" DisplayMemberBinding="{Binding Path=ProductID}"/>
                    <GridViewColumn Header="Name" DisplayMemberBinding="{Binding Path=ProductName}"/>
                    <GridViewColumn H

 


http://www.17aspx.com/html/aspnet35/vs2008/2010/0225/955.html

posted @ 2010-04-30 19:44  17aspxcom  阅读(414)  评论(0编辑  收藏  举报