http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/284a2343-8d74-4260-9ebb-11e425372d16/> I'm trying to reorder the columns in a DataGridView. I have:
>
> grdReceive.Columns["PartId"].DisplayIndex = 0;
> grdReceive.Columns["SerialNo"].DisplayIndex = 1;
> grdReceive.Columns["Location"].DisplayIndex = 2;
> grdReceive.Columns["LocationInfo"].DisplayIndex = 3;
> grdReceive.Columns["Description"].DisplayIndex = 8;
>
> The columns actually appear as:
>
> PartNo, SerialNo, Location, Description, LocationInfo.
>
> I cannot get Description to move over one position to the right. Location is a combo column I added in code.