F
FX
Hi all,
I'm using a CLR 2 component DataGridView and I'm encountered Performance
issue.
Here is the snippet :
string valueStr = value.ToString();
DataGridViewRowCollection rows = dataGridView1.Rows;
foreach (DataGridViewRow dataGridViewRow in rows) {
dataGridViewRow.Cells[0].Value = valueStr;
}
The type of first column is DataGridViewCheckBoxCell.
I takes more than 15 sec to execute this part of code (my component only
have 200 rows).
Does anyone has an idea to improve this ?
Thanks in advance
Fx
I'm using a CLR 2 component DataGridView and I'm encountered Performance
issue.
Here is the snippet :
string valueStr = value.ToString();
DataGridViewRowCollection rows = dataGridView1.Rows;
foreach (DataGridViewRow dataGridViewRow in rows) {
dataGridViewRow.Cells[0].Value = valueStr;
}
The type of first column is DataGridViewCheckBoxCell.
I takes more than 15 sec to execute this part of code (my component only
have 200 rows).
Does anyone has an idea to improve this ?
Thanks in advance
Fx