Hi,
I'm new at coding. I'm trying to show a list of items in a directory. I've tried using a file listing and a DataGrid. They both work fine when used in a blank page but when I use either code in my web pages (I'm using Master pages), the list and/or DataGrid are not visible. I think it has something to do with DirInfo As New DirectoryInfo(). and how it interacts with being in asp:Content. I've tried Server.MapPath as part of the DirectoryInfo and it doesn't work. My VB doesn't seem to find the directory. Also, I get no error.
Any ideas?
...
Go to the complete details ...