I'am populating a datagridview from a datatable.
While populating the columns and rows, I also format it at the same time, this cause the datagridview to load very slowly, is there a work around for this problem?
cdatagridview
I'am populating a datagridview from a datatable.
While populating the columns and rows, I also format it at the same time, this cause the datagridview to load very slowly, is there a work around for this problem?
Best Answer
As well as taking care of
AutoSizeColumnsMode
, make sure that individual columns have theirAutoSizeMode
property also set to something other than all cells.I also found it necessary to use