private object ConvertStringListToRows(String[][] values) { var results = new List <DataGridRow>(); foreach (String[] rowValues in values) { var row = new DataGridRow(); foreach (String rowValue in rowValues) { row.Add(rowValue); } results.Add(row); } return(results); }