Hi there,
OS: XP
Using Visual Studio 2008. .NET 3.5
I am trying to do something which should be very simple, but is causing me grief. Basically, I'm using a text file to count the number of times an msi file is downloaded.
Here is the code for the aspx page that reads and writes the text file:
1 protected void Page_Load(object sender, EventArgs e)
2 {
3
4 StreamReader inStream = new StreamReader(Server.MapPath("countBLDL.txt"));
5 int count = int.Parse(inStream.ReadLine());
6 inStream.Close();
7 count++;
8 StreamWri ...
Go to the complete details ...