I am creating window c# desktop application
I have three columns in my datagridview
column1 is DataGridViewCheckBoxColumn
and column 2 and column 3 is bounded through datatable.
Now i want that sequence of column should come as follows:
Column2 Column3 and Column1
but it is coming like as follows :
Column1 Column2 Column3
I want that DataGridViewCheckBoxColumn should come as last column of datagridview
thanks
You should change display order of columns in design time.
In design window, open the designing window of DataGridView, and the columns will be listed. You can re-arrange column by clicking up/down button on designing window.
You can change display order programmatically by adding order of it, for e.g :
HTH.