日期:2014-05-19  浏览次数:20902 次

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>
在后端代码里:
怎么得到某一行的某一列的值?
谢了!!!!!!!!!!!

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