Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cant See Fields In Typed Dataset
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01319518
Message ID:
01319531
Vues:
16
>I created a typed dataset in the designer called 'dtProject'. It has 2 columns, 'ProjectKey' and 'Caption'.
>
>I want to set the value of a label to the data set's Caption value. When I type:
>
>
>lblCaption.Text = dsProject.
>
>
>when Intellisense opens, I see 'dtProjectDataTable' and 'dtProjectRow'. I'm guessing VS created these names on it's own, because I didn't create them.
>
>From this point, I cannot see any way to reference the Caption column on the data set.
>
>Someone wanna help a newby?

You might want to take a look back at this thread MESSAGE#1310198

You need to fill the dsProject.dtProjectDataTable then find the dtProjectRow row in that table that has the caption you want. Then it will be lblCaption.Text = myrowobject.Caption.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform