Binding to a related column
From: Oleg Ogurok (oleg_at_ogurok.com.ihatespammers.ireallydo.co)
Date: 12/16/04
- Previous message: Rollasoc: "Autoincrement value.. Why in new row? How do I get the next value?"
- Next in thread: Ritesh Jain via DotNetMonster.com: "Re: Binding to a related column"
- Reply: Ritesh Jain via DotNetMonster.com: "Re: Binding to a related column"
- Reply: Nicolas L.: "Re: Binding to a related column"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 15 Dec 2004 23:39:14 -0500
Hi all,
I have a strongly typed dataset with tables:
Users: ID, First Name, LastName
Orders: ID, Quantity, UserID
UserID is related to Users' ID column via a DataRelation.
I'm binding Orders table to a DataGrid, and one of the columns I need to be
the First+Last name of the corresponding user.
How can I accomplish it?
I tried adding a DataGridColumnStyle and setting MappingProperty to bunch of
different values but none worked.
Also, any tutorials on DataGrid are gladly appreciated.
Thanks.
-Oleg.
- Previous message: Rollasoc: "Autoincrement value.. Why in new row? How do I get the next value?"
- Next in thread: Ritesh Jain via DotNetMonster.com: "Re: Binding to a related column"
- Reply: Ritesh Jain via DotNetMonster.com: "Re: Binding to a related column"
- Reply: Nicolas L.: "Re: Binding to a related column"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading