Query and Display an order list using DataList

H

Homa

Hi to all,

My database has two tables: order and orderItem. the order table has
(idOrder, name, address, etc) and the orderItem table has (idOrder,
idProduct, Quantity)

I want to present the information using DataList so that for each item
(in itemTemplate) it shows the order information as well as the
orderItems.

I place another DataList inside the itemTemplate of the outer one to
display the orderItems. But I don't know how to do it.

And is this a good practice? or I should just display them using table
tag and do it in the itemCreate Event?

Thanks for concern,
Homa Wong
 

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

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top