Error!
Success!

Splitting a single DataTable into Parent/Child DataTables for Hierarch

0
kicks

Splitting a single DataTable into Parent/Child DataTables for Hierarch  (Unpublished)

A simple function in C# that takes a single DataTable and creates a related parent DataTable in the same DataSet based on specified parameters. This is useful if you only have a single result set from SQL (or any other data source) and you'd like to break that data up into two separate parent-child DataTables in order to use nested repeaters or any other type of parent-child processing on the data.


Kicked By:
Drop Kicked By: