I am currently usin the following line of code to write to a text file:
stw.WriteLine(txtgradecode.Text & "," & txtwidth.Text & "," & txthbgauge.Text & "," & txttargetgauge.Text)
When I view the text file, the text is written on the 2nd line with the cursor on the first line(a blank line). Later when I try to read my text file, I am getting an error because it is trying to read a blank line . Is there a way around this problem?