Using DataGridView with VB.Net 2008. I would like to freeze the left column so that while scrolling through this column this column remains in place. can someone tell me how to do this?
How to lock columns in a Windows Forms DataGridView control :
To freeze a column programmaticallySet the property DataGridViewColumn.Frozento true:Me.dataGridView1.Columns("AddToCartButton").Frozen = True
To freeze a column programmatically
Set the property DataGridViewColumn.Frozento true:
DataGridViewColumn.Frozen
true
Me.dataGridView1.Columns("AddToCartButton").Frozen = True
How to lock columns in a Windows Forms DataGridView control using the constructor :
To freeze a column using the constructor- DataGridView, " ".Selected Columns.Frozen true.
To freeze a column using the constructor
DataGridView
Frozen