Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我得到了行 id 和列 id
dataGrid2.Items[row].Cells[column].Text = "text"; row = row index; column = column index;
您可以简单地更新基础数据源的值及其在数据网格中的显示。你不需要任何索引的东西