I have searched many topics and can\'t find an answer on using the WPF DataGrid
to list file name contents from a directory. I am able to output the contents in a <
You first have to add Columns in your DataGrid (using VS is pretty simple with the designer) and then you can use something like:
for (int i = 0; i < Object.Length; i++)
dataGrid.Rows[i].Cells[0].Value = Object[i];
In this case i'm using Cells[0], but you can specify any cell on your row to put the values.