asp.net binding related tables

G

Guest

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,835
Latest member
KetoRushACVBuy

Latest Threads

Top