Correct Way to Open a Windows Form in VB.NET
Few months ago I encounter a problem with my windows form bound using a DataSet. When I open the form the first time, it seems that everything is fine. But when I open it again the second time, the fields are become blank. This happens when you trigger the “PerformClick” of “BindingNavigator” under the Form Load event.
This is not actually the common mistake that I encounter. But maybe, you encounter this problem also if you are used with VB 6.0 before.
Here’s the code to open the windows form the correct way: