radiobuttonlist in DataList.ItemTemplate

N

na

I am trying to build the master and child relationship in a DataList's
ItemTemplate. The DataList is bound to to an ObjectDataSource which is
bound to an DataTable in a DataSet defined in an xsd file. The
DataTable is based on MS SQL stored proc which joints a master and a
child tables. I need to list the master record only ONCE and all its
children listed as RadioButtonList HORIZONTALLY. For example:

master1 oChild11 oChild12 oChild13
master2 oChild21 oChild22 oChild23
....
....

Does anyone know how to do this, or using other controls so that most
of the work is done declaratively instead writing code in CodeBehind
file? If this can not be done declaratively, how can I loop through the
DataTable and bind each child at runtime? Thanks.
 

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,776
Messages
2,569,603
Members
45,216
Latest member
topweb3twitterchannels

Latest Threads

Top