Response.Redirect to a filepath

M

marccruz

Hi,

I am creating a test web site that allows me to click a button which
redirects me to a file path. I implemented some code to attempt this
but I keep getting a blank page. How do I correctly redirect to a
file path?

The code I've tried is shown below:

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button1.Click
Response.Redirect("file:///C:/", False)
End Sub


Thank you
 

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

Top