Viewing File in ASP.NET

  • Thread starter Thread starter Benson Cheng
  • Start date Start date
B

Benson Cheng

Hi All,

This is what I want to do, in a aspx page, the user enters some search
criteria, and when the user click on the search button, the page lists all
the matching files (on the server) as a hyperlink, and if the user click on
any of the hyperlinks, then it display the file content in a new window, the
file could be in text or xml format.

So far I got the search part working, and I am thinking to use the HyperLink
control to display each matched file name, but I don't know what value
should I set the HyperLink.NavigateUrl property? Is this the right way to
do it? Does anyone have any other suggestions how to do this?

Thanks,
Benson.
 
Back
Top