How to Populate an ArrayList with the subdirectory string array
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, I have a dotnet application in which i have to get some files fetched from a directory. After fetching those files i have to Populate an ArrayList with the subdirectory string array. How can i do this in C#.net application. Anybody pls help. Regards Vijay.
-
Hi, I have a dotnet application in which i have to get some files fetched from a directory. After fetching those files i have to Populate an ArrayList with the subdirectory string array. How can i do this in C#.net application. Anybody pls help. Regards Vijay.
Hi, You can make this by following way. string[] str = System.IO.Directory.GetDirectories( youdirectorypath ); ArrayList arrlst = new ArrayList( str ); I hope this will help you.
Thanks and Regards, Chetan Ranpariya