To unmerge a DataTable after merging, you will need to loop through the merged DataTable and split the rows that were merged using the method DataTable.Rows.Split(). You will also need to remove the merged columns from the DataTable.
Here's an example code snippet that demonstrates how to unmerge a DataTable after merging:
main.cs983 chars33 lines
This code assumes that the merged columns have a custom property called "MergedColumn" set to true. You can set this property when merging the rows by using the method DataColumn.ExtendedProperties.Add().
gistlibby LogSnag