Changing DataGridView Column Properties in VB Code
Posted
by VBeginner
on Stack Overflow
See other posts from Stack Overflow
or by VBeginner
Published on 2010-05-06T15:04:07Z
Indexed on
2010/05/06
15:08 UTC
Read the original article
Hit count: 383
So I'm adding columns in the code, rather than design view...
frmMain.dgv_test.Columns.Add("col1", "1")
frmMain.dgv_test.Columns.Add("col2", "2")
'etc
How do I edit properties such as Column Width, Frozen, and all the other properties that can be seen in the design view if I were to "design" a column?
Thank you.
© Stack Overflow or respective owner