C#  datagridview动态设置ColumnType
C#  datagridview动态设置ColumnType   不是直接在控件里改 编辑列→columntype→   我要代码  代码啊  设置自己想要的列的type  在线等
------最佳解决方案--------------------删除原来的,然后创建新的类型,再加进去
            DataGridViewComboBoxColumn col = new DataGridViewComboBoxColumn();
            dataGridView1.Columns.Add(col);
------其他解决方案--------------------  顶。