Synching DataGridView with businessBindingSource BO


Author
Message
Mark Dowlearn
Mark Dowlearn
StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)
Group: Forum Members
Posts: 34, Visits: 9.9K
Hello -

I know I'm missing something simple here, but I'm new to working with both Strataframe and DataGridView objects.

I'm setting up a maintenance form for a table.  BO created, businessBindingSource mapped to the BO, DataGridView dataSource set to the businessBindingSource.

DataGridView is filled in ParentFormLoading () of the BO; data is displaying successfully. 

I'm able to sync the display of the BO to the DataGridView using the Navigate() method in the DataGridView's cellClick method().

What I'm not able to do is have the grid update to reflect the navigation that takes place when using the MaintenanceFormToolStrip on the maintenance form.  I know that the current record in the BO is available through the NavigatedEventArgs on the BO, but I'm unable to find the correct property to set or the correct method to call to set the DataGridView's pointer to the current index and then refresh the display.

I'm sure I'm missing something simple, but I'm stumped.  Any suggestions?

Mark

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search