C# DataGridView控件用代码关闭列自动排序功能
DataGridViewTextBoxColumn Col_LABEL_NAME
= new DataGridViewTextBoxColumn();
Col_LABEL_NAME
.HeaderText
= "模板名称";
Col_LABEL_NAME
.SortMode
= DataGridViewColumnSortMode
.NotSortable
;
关闭前
关闭后
转载请注明原文地址:https://tech.qufami.com/read-26100.html