Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

code a virtual/ relative path to a report...

Status
Not open for further replies.

skitty123

Technical User
May 4, 2004
56
US
My .rpt files are all currently on the C:\ of my development machine. so the paths to the report are set as
reportViewer.ReportSource = "C:\<my report>.rpt"

when I deploy my application, I assume I will have to change all the hardcoded paths again... It does not sound like good practice, so I was wondering if there is any way to set a virtual path to my reports.

This might be a programming question so I am posting it on the .NET forum as well.

Thx
 
answer to this was posted on thread732-839752 in C# forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top