Inside my asp.net website I am trying to access a file
FileStream stream = File.Open("/App_Data/" + FileName, FileMode.Open, FileAccess.Read);
I want this code to select an xlsxfile inside my websites app data folder. This code always take the whole path from directory like
'c:\App_Data\w1.xlsx
I don't want this code to go for root URL.I just want to take file inside my website.How can i tweek the code to achieve this