I created a treeview in asp.net web page and passed the file system as the nodes of the treeview.I would like to know, If the treeview is provided to display the file structure will it dispay my local system file structure or server machine file structure.?
Code behind:
Array drivesList = DriveInfo.GetDrives();
for (int index = 0; index < drivesList.GetLength(0); index++)
{
string text = drivesList.GetValue(index).ToString();
TreeNode parentNode = new TreeNode(text);
parentNode.PopulateOnDemand = true;
TreeView1.Nodes.Add(parentNode);
}