Use the
System.IO.Directory.GetFiles[
^] and
GetDirectories[
^] methods to retrieve the information.
Then you can display it in a
DataGridView[
^] just like any other pile of strings.
MyDataGridView.Rows[whateverRowNumber].Columns["ChildFolderNameColumn"].Value = childFolderName;
Or you can store your data in a
BindingList[
^] and bind it to the DataGridView.
Depending on your very situation, it can be less hassle than the first option.