|
|
Filling a ListBox Control with a File Listing |
|
|
Superdotnet.com |
|
|
ASP.NET / Component & Controls |
|
|
Click to Visit |
|
|
78 |
|
It is an ASP.NET article in which the author talks about how to list the files of a directory in the listbox web control of ASP.NET. Inorder to perform this process you should import the namespaces such as System.Collections and System.IO in your aspx page. You can get the files of the directory using the GetFiles method of the Directory object. The author clearly explains the procedure with a sample program.
|