public static Dictionary<string, Set<string>> PivotRows( DatabaseRow[] rows, string[] pivotfields, string[] valuefields )