reading file in my site

  • Thread starter Thread starter perspolis
  • Start date Start date
P

perspolis

Hi all
I have a site and I want to to read content a file in my site.
I can't use FileStream because it use absolute path or relative path.
I know I can use HtttpFileRequest..but I want t o know
is there a better and faster way to do this??

thanks in advance
 
You can always retrieve the physical path with Page.MapPath method. Is it
what you are after?
 
thanks that's it

Eliyahu Goldin said:
You can always retrieve the physical path with Page.MapPath method. Is it
what you are after?

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]


perspolis said:
Hi all
I have a site and I want to to read content a file in my site.
I can't use FileStream because it use absolute path or relative path.
I know I can use HtttpFileRequest..but I want t o know
is there a better and faster way to do this??

thanks in advance
 
Back
Top