它不起作用,我该怎么办dataGrid2.Items [row] .Cells [column] .Text =“text”;

时间:2013-06-14 13:14:46

标签: c# wpf datagrid

我有一行,列ID。

此声明无效,我该怎么办?

dataGrid2.Items[row] .Cells[column] .Text = "text";

1 个答案:

答案 0 :(得分:0)

试试这个:

dataGrid2.Rows[row][column].Value = "text";