I am developing a web page that displays a report. The report gets updated monthly and I would like the option to display the previous reports as well as the current one. I don’t even know where to begin with this and I am hoping for suggestions. All I can think of off the top of my head is to somehow display all of the reports in the directory in a DropDownList (if that’s possible).
Any advice is appreciated.
Regards.
Use the Directory.GetFiles method to get the list of files in your directory.
You can then use this list as a datasource for your DropDownList control