I am not looking for the specific code, althought an example would be great. I am trying to build a custom datagrid that shows the data in a hierarchial form. I have no control over the way the data arrives. It is from a stored procedure where every record contains category, subcategory, item. I was wondering if you can query a datatable? or any other solutions
Category
Sub Category1
ITEM1 item1name
item2 item2name
sub category1
Sub Category2
ITEM1 item1name
item2 item2name
sub category2
Category
Category
Sub Category1
ITEM1 item1name
item2 item2name
sub category1
Sub Category2
ITEM1 item1name
item2 item2name
sub category2
Category