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
  • 32,421
  • 21
  • 173
  • 232
Cezar
  • 151
  • 3
  • 14