0

I would like to set a path to my text files which are stored in TextFiles folder. Project looks like that:

enter image description here

This application is already hosted on a website. I've tried almost every combinations of Server.MapPath like ("~/TextFiles/UserItemReturnMail.txt"), ("./TextFiles/UserItemReturnMail.txt"), ("\\TextFiles\\UserItemReturnMail.txt"), etc. How can I get to those files, because I have no idea now.

Cœur
  • 34,719
  • 24
  • 185
  • 251
Cezar
  • 193
  • 3
  • 15