How to get directory of App_Data ?

P

Polaris

Hi Experts:

I'm using ASP.NET 2.0.

Is there a way to get the directory (full path) of the "App_Data" foler at
runtime ?

Thanks in Advance!
Polaris
 
A

Andrea Zani

Polaris said:
I'm using ASP.NET 2.0.

Is there a way to get the directory (full path) of the "App_Data"
foler at runtime ?
path=System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory,"App_data")

Thanks in Advance!
Polaris
 

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

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top