S
Sam
Hi,
In the Microsoft datagrid, how do you detect when the selected row
changes?
I've tried this:
Private WithEvents m_bindingManager As BindingManagerBase
'dgeq is my datagrid and it has a correct datasource
m_bindingManager = Me.BindingContext(dgeq.DataSource)
AddHandler m_bindingManager.PositionChanged, AddressOf RowChanged
Private Sub RowChanged(ByVal send As Object, ByVal e As
System.EventArgs) Handles m_bindingManager.PositionChanged
But it doesn't work, the change is never detected
Can you help,
thx
In the Microsoft datagrid, how do you detect when the selected row
changes?
I've tried this:
Private WithEvents m_bindingManager As BindingManagerBase
'dgeq is my datagrid and it has a correct datasource
m_bindingManager = Me.BindingContext(dgeq.DataSource)
AddHandler m_bindingManager.PositionChanged, AddressOf RowChanged
Private Sub RowChanged(ByVal send As Object, ByVal e As
System.EventArgs) Handles m_bindingManager.PositionChanged
But it doesn't work, the change is never detected
Can you help,
thx