Information générale
Titre:
Search Window / Update Window
Hi,
I using windows form vb.net project.
Created two form
Form1:
SqlConnection, SqlDataAdapter, and Dataset
has textbox for entering serach criteria and go search button.
Grid to display the dataset.
Form2:
Textboxes, comboboxes etc for the fields that I want to update.
How do you use the second window so that it references the dataset from the first form? I want to click a button and show secord form with all related controls and the proper row that was selected from the grid in form 1.
I read about it but can't remember where. Seems like it was one line of code. ??????
Thanks
Roland
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement