misterstick
Programmer
i have a datagridview on a form.
the form sets the datasource for the grid in the load event handler, to a BindingList<> of custom objects.
the fields on the custom objects have relatively unfriendly names, are in the wrong order, and there are extra ones for housekeeping that the user does not need to see.
the form, therefore, at the end of the load event handler sets the columns on the grid to be more user-friendly.
i've checked the columns just before the last "}" in the handler and they are correct.
when the form is displayed, though, the columns are back in their original order.
any ideas why this should be happening?
or even when?
mr s. <
the form sets the datasource for the grid in the load event handler, to a BindingList<> of custom objects.
the fields on the custom objects have relatively unfriendly names, are in the wrong order, and there are extra ones for housekeeping that the user does not need to see.
the form, therefore, at the end of the load event handler sets the columns on the grid to be more user-friendly.
i've checked the columns just before the last "}" in the handler and they are correct.
when the form is displayed, though, the columns are back in their original order.
any ideas why this should be happening?
or even when?
mr s. <
