How can i browse local system and select specific folder in the asp.net page. Thanks in advance
E edr Jul 25, 2006 #1 How can i browse local system and select specific folder in the asp.net page. Thanks in advance
K Ken Cox [Microsoft MVP] Jul 26, 2006 #2 You need to use Directory.GetDirectories() and Directory.GetFiles() in System.IO to iterate through the filenames. Details here: http://msdn2.microsoft.com/en-us/library/07wt70x2.aspx BTW, there's a really nice ASP.NET implementation of a file explorer here: http://www.componentart.com/demos/treeview/features/ajax_fileExplorer/WebForm1.aspx Ken Microsoft MVP [ASP.NET]
You need to use Directory.GetDirectories() and Directory.GetFiles() in System.IO to iterate through the filenames. Details here: http://msdn2.microsoft.com/en-us/library/07wt70x2.aspx BTW, there's a really nice ASP.NET implementation of a file explorer here: http://www.componentart.com/demos/treeview/features/ajax_fileExplorer/WebForm1.aspx Ken Microsoft MVP [ASP.NET]