1、获取单元格数据
string str = (DataGrid_Test.Columns[1].GetCellContent(DataGrid_Test.Items[i-1]) as TextBlock).Text;
DataGrid相关操作
最新推荐文章于 2021-02-09 10:03:03 发布
1、获取单元格数据
string str = (DataGrid_Test.Columns[1].GetCellContent(DataGrid_Test.Items[i-1]) as TextBlock).Text;