G
Guest
private void getList()
{
string[] fList = Directory.GetFiles("c:\\Tmp");
listBox.DataSource = fList;
listBox.DataBind();
}
This codes brings all the files in the folder c:\tmp. How can make this code
return all the files in the sub directories too?
{
string[] fList = Directory.GetFiles("c:\\Tmp");
listBox.DataSource = fList;
listBox.DataBind();
}
This codes brings all the files in the folder c:\tmp. How can make this code
return all the files in the sub directories too?