Programming and Whatnot
Just some stuff I don't want to forget.
Friday, July 16, 2010
DataGridView Adds Extra Columns
The AutoGenerateColumns property is not available on the design surface of VS
, only in code. What a pain. So, to prevent columns from displaying:
Public Sub New() '// or whatever
my_data_grid_view.AutogenerateColumns = False
End Sub
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment