Get date creation or date modified of a file?
<p>I want to get creation date, last modify date other details relating to  files, and adding them to a datagridview. Currently I am getting the file information by using <code>directory.getfiles</code>.
Here's what i got so far:</p>

<pre><code>Dim paths() As String = IO.Directory.GetFiles("mypath")

For Each sFile As String In paths
    Dim fileNameOnly As String = Path.GetFileNameWithoutExtension(sFile)
    gridview.Rows.Add(fileNameOnly)
Next
</code></pre>