StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



binding navigatorExpand / Collapse
Author
Message
Posted 08/21/2006 5:47:14 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame 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
Post #2347
Posted 08/22/2006 9:29:54 AM


StrataFrame Developer

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
Post #2355
Posted 08/22/2006 7:49:48 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 05/25/2007 3:34:57 PM
Posts: 235, Visits: 309
Oh. Thanks.
Post #2386
Posted 08/23/2006 8:53:51 AM


StrataFrame Developer

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
Post #2394
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 6:07am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.