Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cant See Fields In Typed Dataset
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01319518
Message ID:
01319531
Views:
15
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform