C# Visual Studio Microsoft 2022 BindingNavigator not showing

1.3k views Asked by At

I am trying a project Database Connection from Guru99 tutorial for C#. I have to put a BindingNavigator in Windows Forms App but I don't have that in my ToolBox.

1

There are 1 answers

3
Karen Payne On

I can't speak for Visual Studio 2022 but Visual Studio 2019 does not have a BindingSource available in the toolbox for one reason or another so with that see if the following provides a BindingNavigator in your toolbox.

If this is the case, try adding the following class to your project.

public class CoreBindingNavigator : BindingNavigator
{
    public CoreBindingNavigator()
    {
        AddStandardItems();
    }
}

Build the project and you should see the CoreBindingNavigator in your toolbox.