Binding Data -- Show Item Once, Simple Question

  • Thread starter Thread starter Ron
  • Start date Start date
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.
 
Back
Top