We are designing a website using .NET

The website has a folders containing some files. User enters the name of the file and we have to fetch data from that file. On our pc in Visual Studio, we were using StreamReader like this:

StreamReader sr = new StreamReader("C:\\Users\\Acid Burn\\Documents\\Visual Studio 2012\\Projects\\teach\\uploads\\Submission\\" + filename;

But now, we are going live with our website and the problem is the file path? What should we give exactly? The files are in /compiler/Submission folder.

Related posts

Recent Viewed