gvMedicalAdvice.Columns.Remove(this.col_order);
this.col_order_name.Visible = false;
this.col_order.Visible = true;
this.col_order.VisibleIndex = 4;
gvMedicalAdvice.Columns.Add(this.col_order);
如上代码,先把表格上的列删除,然后设置属性。再添加进去就可以成功设置属性