Having problems listing directories and getting their attributes in asp.net. Im getting this error when it reaches the first line of the for loop, "Value of type &#039;System.IO.DirectoryInfo&#039; cannot be converted to &#039;1-dimensional array of System.IO.DirectoryInfo&#039;."<BR><BR>Below is the code and i dont see any difference between it and other samples showing how to loop through the directories.<BR><BR>Dim newsarchivesubdir As DirectoryInfo() = newsarchivedir.GetDirectories()<BR>Dim dirs as DirectoryInfo()<BR><BR>For each dirs in newsarchivesubdir<BR>DR = DT.NewRow()<BR>DR("Name") = dirs.Name<BR>DR("Created") = dirs.CreationTime<BR>DT.Rows.Add(DR)<BR>Next