0

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

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by dre-logics
0

>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()
0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.