I use Visual Basis 2008 With MySQL.
I Have one from with 6 (six) Datagridviews controls
I Have the following problem:

If i use Form1.Show method than the form1 is only show if data connections are made and all the datagridviews are filled with data .

What i want is to first show Form1 with alle the empty Datagridviews (6)controls and then After that
i want that the program make the data connections and fill DataGridView with data.

form1.show ' call form other Form

Private Sub Form1_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load

'in this  [U]Load event [/U]i make all the data connections en fill the datagridviews

End Sub

Thanks in advance for the replies,

Andre

>What i want is to first show Form1 with alle the empty Datagridviews (6)controls and then After that
i want that the program make the data connections and fill DataGridView with data.

form1.Show()
form1.YourMethodThatPerformDataBinding()

can you give a example how to do that?
Can i not better use Backgroundworker Class to solve my problem?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.