Viewing File in ASP.NET

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top