Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parent & Child form sharing the same Dataset control.
Message
De
14/06/2007 10:41:46
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
01233022
Message ID:
01233028
Vues:
10
>Hi all!
>
>I'm starting writing code in VB.net after a year of trainings. In the clases they cover simple example nothing complicated. Now I have my first of a lot of problem that I going to find in my writing. My problem is simple, I create a Dataset that basically is conected to a View in my SQL server, the dataset have a subset query of all the record selected in the grid control. I call a child form that I want to edit the record selected in the grid, one by one. The problem is that when i build my second form and add the dataset to my child form it recreate the table so i dont see any records. Any idea how i can use the same dataset without creating another set of record.

Well, what you could do is pass your dataset into your child form in the constructor, and then set the dataset in your child form equal to that parameter.

What version of VS are you using?
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform