1

在数据网格名称后键入行后,智能菜单中没有选择行

<StackPanel>
            <DataGrid AutoGenerateColumns="True" ItemsSource="{Binding}" Name="dgStatus" 
                  HorizontalAlignment="Left" Margin="10,23,0,0" VerticalAlignment="Top" 
                  RenderTransformOrigin="-23.633,-5.198" Height="364" Width="811" 
                  CellEditEnding="myGrid_CellEditEnding" >
        </DataGrid>
        <Button Name="button1" Click="button1_Click" Height="50" Width="100"></Button>
        </StackPanel>

在此处输入图像描述

4

1 回答 1

1
if(dal.getNumOfRows("Table1")< dgStatus.Items.Count)
于 2013-08-07T09:45:10.657 回答