先需要重写一个方法:C#: internal class DataGridNoActiveCellColumn : System.Windows.Forms.DataGridTextBoxColumn } vb.net : End Class 设置datagrid样式: End Sub 相关文章: