asp.net binding related tables

Discussion in 'ASP .Net' started by =?Utf-8?B?TmVkaW0=?=, Jun 12, 2006.

  1. i created a typed dataset with related tables, but i dont know how to display
    related values, for example, i have a tables Person and City, which are
    related like Person.CityId = City.Id (they are all defined in a strongly
    typed dataset).

    how can i display the data from City table in repater or a similar control.
    DataBinder.Eval(Container.DataItem, "Person.Name") works but
    DataBinder.Eval(Container.DataItem, "Person.CityRow.Name") doesn't work even
    though PersonRow has properties like that.
    how to display the data from city table in person list if this cant work?
    =?Utf-8?B?TmVkaW0=?=, Jun 12, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kate

    sending data to 2 related tables

    Kate, Feb 9, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    365
  2. Paul Turley

    Sorting a DataSet with related tables

    Paul Turley, Aug 30, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    414
    Paul Turley
    Aug 30, 2003
  3. Shiv
    Replies:
    0
    Views:
    401
  4. Maxwell Hammer
    Replies:
    7
    Views:
    630
    Peter Hansen
    Jun 18, 2005
  5. Paul Turley

    Sorting a DataSet with related tables

    Paul Turley, Aug 30, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    102
    Paul Turley
    Aug 30, 2003
Loading...

Share This Page