display columns from 2 tables in datalist

J

Joe Van Meer

Hi,

I have a datalist that is bound to a dataset that contains 3 tables and
relations are created between these tables. My question is how to reference
data from columns in the second table in my datalist in my itemtemplate.

Do I use the same notation as this? Or is there something I am missing?

<%#Container.DataItem("SECONDTABLEFIELD")%>

Or would it be something like:

<%# mydataset.Tables(1).Columns(MyColumn) %>

Thx in advance, Joe
 

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,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top