lorena Posted April 17, 2006 Posted April 17, 2006 I have an aspx page that is supposed to link to an "index.aspx" page in each of several folders. I have been able to figure out how to list the names in a datalist but I would like to list them as hyperlinks in a datagrid (/foldername/index.aspx) Here is the code for the datalist: Dim Directories As New IO.DirectoryInfo(Server.MapPath("")) Dim Directory As IO.DirectoryInfo For Each Directory In Directories.GetDirectories ListBox1.Items.Add(Directory.Name) Next If I could get some tips for the code, I would really appreciate it. I know how to hyperlink to files, I am just having problems with linking to the file within a folder. THanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.