|
-
Dec 20th, 2009, 01:13 PM
#1
Thread Starter
Addicted Member
BindingNavigator
I learned how to use Access Database in VS2008, and just have one question. When I put BindingNavigator control on my form, how to get buttons for Previous, Next, First, AddNew, Delete, Save record.
So, I have this
http://i.msdn.microsoft.com/8zhc8d2f...-cn,VS.80).gif
And I want to have buttons for all buttons that are in BindingControl from picture. It's not that simple to make buttons and copy code to it because when I double-click on buttons on BindingNavigator control there isn't any code. So, is there somebody to help me? Thanks!
-
Dec 20th, 2009, 05:30 PM
#2
Re: BindingNavigator
A BindingNavigator is basically a UI for a BindingSource. Add a BindingSource to your form and assign it to the BindingSource property of your BindingNavigator. Now, when you bind your data to the BindingSource, the BindingNavigator will just work.
-
Mar 26th, 2010, 12:15 PM
#3
New Member
Re: BindingNavigator
I have an adjunct question:
I am using Visual Studio 2008 with a SQL CE database, datagrid and tableadapters. I have the binding sources/data and everything set up, but when I drag the dataset to the datagrid in the form (mobile smart device), I do not get a Binding Navigator. All references say I should get one. Would I not get one for a Mobile Device using SQL CE?
I tried redoing it and still no binding navigator.
Is the bindingnavigator a control that I can add to my form?
Last edited by itsamystery; Mar 26th, 2010 at 01:32 PM.
-
Mar 27th, 2010, 05:33 AM
#4
Re: BindingNavigator
 Originally Posted by itsamystery
I have an adjunct question:
I am using Visual Studio 2008 with a SQL CE database, datagrid and tableadapters. I have the binding sources/data and everything set up, but when I drag the dataset to the datagrid in the form (mobile smart device), I do not get a Binding Navigator. All references say I should get one. Would I not get one for a Mobile Device using SQL CE?
I tried redoing it and still no binding navigator.
Is the bindingnavigator a control that I can add to my form?
Open the documentation for the BindingNavigator and check the supported platforms. Does it say that it's supported on the Compact Framework? If not then you can't use it in mobile apps. I don't do mobile development but I would suspect that it's one of the things left out to make the CF compact.
-
Mar 27th, 2010, 10:45 AM
#5
New Member
Re: BindingNavigator
that's what I suspect. Good advice to check the BN supported platforms. thanks much.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|