E
Eva White via .NET 247
I am trying to set a field in a Datagrid to open a file locatedin the downloads/ directory on my website. The following codecreates hyperlinks in my datagrid, but when I click on thesehyperlinks, I get "The page cannot be Found" message. Theaddress bar indicates that the links are trying to load a filethat is located in the root of the website.
<asp:HyperLinkColumn DataNavigateUrlField="filename"DataTextField="filename"
HeaderText="File Name" />
How do I specify that I want the hyperlinks to open a file in thesubdirectory?
<asp:HyperLinkColumn DataNavigateUrlField="filename"DataTextField="filename"
HeaderText="File Name" />
How do I specify that I want the hyperlinks to open a file in thesubdirectory?