Hi,
I am new to asp.net and I am trying to create an asp.net page that will display a list of files (currently in a datagrid). I would like have the name of a file as a link that would open and/or save the file. I can get the names to link to a real url but I am unable to get the link to work when it is a local file.
I am currently trying to set the link up by:
Any help would be appreciated
Thanks,
malonep
I am new to asp.net and I am trying to create an asp.net page that will display a list of files (currently in a datagrid). I would like have the name of a file as a link that would open and/or save the file. I can get the names to link to a real url but I am unable to get the link to work when it is a local file.
I am currently trying to set the link up by:
Code:
CType(oItem.FindControl("lnkHyper"), HyperLink).NavigateUrl = root + oItem.Cells(3).Text
CType(oItem.FindControl("lnkHyper"), HyperLink).Enabled = True
Any help would be appreciated
Thanks,
malonep