0

Hi,

Tq for ur support before....

I got some stuck here regarding how to make my text file write a new line for each input from textbox..

E.g :-

I have a one textbox1 , when i insert any value in textbox it will save into my textfile. .. but when i;m insert new value it will replace my exist value in my text file...how to make it write into new line and remain all the value?..

tq

6
Contributors
7
Replies
22
Views
7 Years
Discussion Span
Last Post by lebo.bytes
0

hi all,

try the following it works

dim swriter as streamwriter
swriter=File.AppendText("filename.txt")
swriter.writeline(" pass your data here )
swriter.close()

Edited by Nick Evan: Added code-tags

0

hi all,

try the following it works

dim swriter as streamwriter
swriter=File.AppendText("filename.txt")
swriter.writeline(" pass your data here )
swriter.close()

No it won't, you're missing a ". Besides, this thread was solved over a year ago..

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.