I'm trying to resize some columns on a datagrid, but keep getting an error.
Here's the code I'm trying to use...
I get an outofRangeException.
Here's the code I'm trying to use...
VB.NET:
dim dgColumnStyle as DataGridColumnStyle
dgColumnStyle = dgBooks.TableStyles(0).GridColumnStyles("Title") 'Error on this line
dgColumnStyle.Width = 200
I get an outofRangeException.