Binding Data -- Show Item Once, Simple Question

R

Ron

I need to display a list of categories and subcategories in a datarepeater
or datagrid. I only want to display one Category name, while showing all of
the Subcategories related to that category. For example:
***********************************
Category1
SubCat1, SubCat2, SubCat3, etc.

Category2
SubCat1, SubCat2

***********************************

I'm not really sure how to go about doing this, I assumed I would need to
stick the Category name in the HeaderTemplate, but that doesn't work.

Any ideas on how to do this?

Thanks for your help.
 

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,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top