I am using a DataGridView with a BBS generated with "SF Custom Business Binding Source", I just selected "Create a Custom Business Binding Source". I dropped an instance of the BO in the form and in order for the grid to show some data I had to do the following:
Me.TransactionItemsStockBBS1.BusinessObject = Me.BizTransactionItemsStock1
I am using a datagridview because the end user can modify some values in any record in the grid, I need to do the following:
1- Validate the change made by the user in the column. What would be the proper event to do the validation?
2- In the validation, I need to do some calculations with the data in the grid, how to know in which record the grid is positioned to do my calculations, also this calculations involve scanning through the records, I am using a FOR..ENFOR bo.GetEnumerable(), but does know if the record pointer will be moved in the form's BO instance?
3- Will the record pointed be in synch in the form's BO while navigating the grid?