I am developing an application in VB.NET 2010 in which I have a form, a datagridview that is filled with data. When I complete the DGV load I do the following:
Me.DataGridView1.ClearSelection()
Below I have a series of textboxes, combos, etc. It turns out that when I select an item in the DGV, all the controls are filled, but when I click the DGV, nothing happens, only in the second click the controls are filled.
I want to clarify that the logic of all the load of the controls I have it placed in the SelectionChanged of the DataGridView
That's fine ? or should I place it in another event of the DataGridView control?