'C# Visual Studio Microsoft 2022 BindingNavigator not showing
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.
Solution 1:[1]
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Karen Payne |
