I have a DataGridView in ac# windows forms application. A column of this returns (long) value.
Now I want to change it's value but I don't know how to do this.
如果您进行绑定( C#教程-将DataGridView绑定到Collection ),它将自动更改。
使用以下内容:
dataGridView.Rows[i].Cells[j].Value = value;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.