Add button column in a databound datagridview

后端 未结 4 1959
误落风尘
误落风尘 2020-12-10 16:35

i have a datagridview. i bound it to a list. now i want to show a column at the end of it. but that column apprear in wrong possition.

this is my code



        
4条回答
  •  悲哀的现实
    2020-12-10 17:35

    Use DisplayIndex property to change the order of the columns: http://msdn.microsoft.com/en-us/library/wkfe535h.aspx

提交回复
热议问题