MyException - 我的异常网
当前位置:我的异常网» C# » wpf数据绑定有关问题,来看看吧

wpf数据绑定有关问题,来看看吧

www.MyException.Cn  网友分享于:2013-12-22  浏览:16次
wpf数据绑定问题,高手进来看看吧!
页面源代码是
<Page   x:Class= "concle.Page1 "
        xmlns= "http://schemas.microsoft.com/winfx/2006/xaml/presentation "
        xmlns:x= "http://schemas.microsoft.com/winfx/2006/xaml "
        Title= "Page1 "   Height= "500 "   Width= "920 "
        xmlns:l= "NcCalendar "
        >
    <Page.Resources>
        <DataTemplate   x:Key= "cc ">
            <CheckBox> </CheckBox>
        </DataTemplate>
    </Page.Resources>
    <Grid>
        <ListView   ItemsSource= "{Binding   Path=jobs} "   Name= "listview1 "   Margin= "0,7,0,93 ">
            <ListView.View>
                <GridView   x:Name= "gridview ">
                    <GridViewColumn   Header= "id "   DisplayMemberBinding= "{Binding   Path=job_id} "> </GridViewColumn>
                    <GridViewColumn   CellTemplate= "{StaticResource   cc} ">
                    </GridViewColumn>
                </GridView>
            </ListView.View>
        </ListView>
        <Button   Height= "23 "   HorizontalAlignment= "Right "   Margin= "0,0,377,59 "   Name= "button1 "   VerticalAlignment= "Bottom "   Width= "75 "   Click= "button_Click "> Button </Button>
    </Grid>
 
</Page>
在后端代码里:
怎么得到某一行的某一列的值?
谢了!!!!!!!!!!!

------解决方案--------------------
沙发,帮忙顶

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有