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。
此语句无效,我该怎么办?
dataGrid2.Items[row] .Cells[column] .Text = "text";
尝试这个:
dataGrid2.Rows[row][column].Value = "text";