Another day, another puzzle. This time, binding a multidimensional array to a Data Grid View Control. Ok, so it would be a lot simpler to just bind the data source directly to the control, but in this case I had to make a fair few tricky transformations to the data. Long story short - how do I dump my data into the grid view control at run time? The solution provided here proved perfect. My kind of solution, elegant and neat…

101 Ways to Manipulate the DataGridView Control

One problem I came up against was how to reorder the columns (having set the design view properties of AutoGenerateColumns to “true”). Bizarrely it proved to be a re-ordering of the property declarations that provided the answer. In other words this…

Public Property ID() As String
...
End Property

Public Property samp() As String
...
End Property 

is not the same as this…

Public Property samp() As String
...
End Property

Public Property ID() As String
...
End Property

not what I expected - but that’s the way it works sometimes…