I
iDesmet
Hallo,
I have 2 forms. In one form (let's call it frmClient) I have
textboxes, comboboxes, etc in which I can save/update information to a
database (MySQL to be more exactly).
The other form (frmClientBrowser) shows the information saved in the
database in a ListBox. In this form I have three buttons, one button
(btnAdd) display the frmClient form with no values in the controls (I
just call the form), the second button (btnEdit) should display the
information to edit from the selected item in the ListBox.
The question is: How do I fill the information to the controls in the
frmClient form from the selected item in the ListBox from the
frmClientBrowse form so I can only edit the information I want?
I'm using VB.NET
Thanks in advance.
PS My apologies for my bad english.
Best Regards,
David Desmet
I have 2 forms. In one form (let's call it frmClient) I have
textboxes, comboboxes, etc in which I can save/update information to a
database (MySQL to be more exactly).
The other form (frmClientBrowser) shows the information saved in the
database in a ListBox. In this form I have three buttons, one button
(btnAdd) display the frmClient form with no values in the controls (I
just call the form), the second button (btnEdit) should display the
information to edit from the selected item in the ListBox.
The question is: How do I fill the information to the controls in the
frmClient form from the selected item in the ListBox from the
frmClientBrowse form so I can only edit the information I want?
I'm using VB.NET
Thanks in advance.
PS My apologies for my bad english.
Best Regards,
David Desmet