Magnar Kleppe
New member
Since my teacher is incredibly inadequate and decided to scold me instead of helping me, I hope you guys can help me.
http://pastebin.com/e1Lt2sZP Here's the code for my site.
The problem is I'm trying to write some text to a file and while the output array in Page_Load successfully stores the data, the output[1] in btn_Utfor_Click does not.
Ignore the other BTNs except btn_Resultat_Click which I use to write data in the array to the file.
@ Yan:
Thanks, but that did not help. I should explain a bit more, I do not intend to use the Page_Load(object sender, EventArgs e) at all.
I just thought it was a bit weird that that the output[0] there was successfully written to the text file while the output[1] in btn_utfor_click does not.
@ Bob M: I don't intend to do that, I'll change it later but for now that's not what causes the problem.
http://pastebin.com/e1Lt2sZP Here's the code for my site.
The problem is I'm trying to write some text to a file and while the output array in Page_Load successfully stores the data, the output[1] in btn_Utfor_Click does not.
Ignore the other BTNs except btn_Resultat_Click which I use to write data in the array to the file.
@ Yan:
Thanks, but that did not help. I should explain a bit more, I do not intend to use the Page_Load(object sender, EventArgs e) at all.
I just thought it was a bit weird that that the output[0] there was successfully written to the text file while the output[1] in btn_utfor_click does not.
@ Bob M: I don't intend to do that, I'll change it later but for now that's not what causes the problem.