Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Asp.net show download dialog box for downloading filename.bak file in different location with project files.

For example

My project is in D:\Prj\ and the .bak file is in D:\backUpDB

If a .bak file is in the path of project I can write

VB
Response.Redirect("../../BackupRoot/securitydb/Db.bak", False)


How can I write some code like this?
(My file is a *.bak file)
Posted
Updated 12-Oct-11 21:56pm
v5
Comments
[no name] 12-Oct-11 8:25am    
Please revise this and ask an actual, well-thought, and well-worded question.
Dalek Dave 13-Oct-11 3:38am    
Have edited for readability and to hopefully clarify the question.

1 solution

You can write
VB
Response.Redirect("../backupDB/Db.bak", False)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900