I have a List of string and I need display the values of this list in a DataGrid. I have this:
public void DisplaySetInformation2(List<string> setList)
{
for (int i = 0; i < setList.Count; i++)
{
_dataGridSection.ItemsSource = setList[i].ToString();
}
}
but it does not work.
What can I do?