Hi I have to get files from a specified path in the directory. This is the method I wrote but I didn't get the files from the subfolders.
Private void getfiles(){
Directoryinfo info = new Directoryinfo(configurationmanager.appsettings["Targetroot"].tostring ());
if (info.exists){
Gvfiles.datasource = info.GetFiles();
Gvfiles.databind();
}
}