Results 1 to 5 of 5

Thread: BindingNavigator

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2009
    Posts
    138

    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!

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    New Member
    Join Date
    Mar 2010
    Posts
    6

    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.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: BindingNavigator

    Quote Originally Posted by itsamystery View Post
    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5
    New Member
    Join Date
    Mar 2010
    Posts
    6

    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
  •  



Click Here to Expand Forum to Full Width