Visual Studio 中对此任务提供了支持。 有关更多信息,请参见How to: Freeze Columns in the Windows Forms DataGridView Control Using the Designer和How to: Freeze Columns in the Windows Forms DataGridView Control Using the Designer和How to: Freeze Columns in the Windows Forms DataGridView Control Using the Designer。