问题
I got row id and column id
dataGrid2.Items[row].Cells[column].Text = "text";
row = row index;
column = column index;
回答1:
you can simply update the value of the underlying datasource and its show in your datagrid. you dont need any index stuff
来源:https://stackoverflow.com/questions/17106708/how-to-set-the-cell-value-in-dynamic-datagrid-in-wpf-using-c-sharp