Simple question

  • Thread starter Thread starter Steve S
  • Start date Start date
What do you mean 'reference'? Do you want the actual file system directory
(C:\inetpub\wwwroot\...)? Then use Server.MapPath(".")

and if not, you want to reference it via a relative URL, you use "." (no
quotes) to mean the current directory. Note I used this above to the
function call MapPath
 
I need to know how to do it in the .cs file, not the aspx. (sorry, my fault
:)

Thanks,
Steve
 
Back
Top