How to get folders from physical path from server in asp.net c#? -
How to get folders from physical path from server in asp.net c#? -
i have deployed web applciation in sever, when click button folders "d:\test\" has added in foldername list
string path = @"d:\test\"; list<string> foldername = new list<string>(); foreach (string s in server.mappath(path)) { foldername.add(s.remove(0, path.length)); }
but above code doesn't work. in way can add together folder name in list
c# asp.net
Comments
Post a Comment