.FrozenCell { position: relative; }
<asp:TemplateField HeaderText=Name; SortExpression=Name; HeaderStyle-CssClass=FrozenCell; ItemStyle-CssClass=FrozenCell/>
o freeze a column programmatically Set the DataGridViewColumn.Frozen property to true: Me.dataGridView1.Columns("AddToCartButton").Frozen = True
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)