| | | StrataFrame User
       
Group: Forum Members Last Login: 05/25/2007 3:34:57 PM Posts: 235, Visits: 309 |
| How do I use a bindingNavigator with a BusinessBindingSource?
Thanks |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 09/26/2008 8:30:36 AM Posts: 2,685, Visits: 1,886 |
| | You have to use a standard BindingSource in between the BusinessBindingSource and the BindingNavigator like this: 
The businessBindngSource.BusinessObject property is set to businessObject1. The bindingSource1.DataSource property is set to businessBindingSource1. The bindingNavigator1.BindingSource property is set to bindingSource1. You then set the bindingSource1 as the DataSource of whatever control/grid you're using.
www.bungie.net |
| | | | StrataFrame User
       
Group: Forum Members Last Login: 05/25/2007 3:34:57 PM Posts: 235, Visits: 309 |
| | | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 09/26/2008 8:30:36 AM Posts: 2,685, Visits: 1,886 |
| No problem. The BindingNavigator is designed to only work with a System.Windows.Forms.BindingSource, not an IBindingListView, which is what our BusinessBindingSource uses. You have to add the extra layer in there to get it to work.
www.bungie.net |
| |
|
|