how to set the cell value in dynamic datagrid in wpf using c#

前端 未结 1 1115
有刺的猬
有刺的猬 2021-01-27 11:38

I got row id and column id

dataGrid2.Items[row].Cells[column].Text = \"text\";
row = row index;
column = column index;
相关标签:
1条回答
  • 2021-01-27 12:06

    you can simply update the value of the underlying datasource and its show in your datagrid. you dont need any index stuff

    0 讨论(0)
提交回复
热议问题