how can i write line by line in txt data?
Posted
by Phsika
on Stack Overflow
See other posts from Stack Overflow
or by Phsika
Published on 2010-06-16T12:17:50Z
Indexed on
2010/06/16
12:22 UTC
Read the original article
Hit count: 301
I try to write line by line data but. if i run my application. writng last text1 data in script.txt
private void button1_Click(object sender, EventArgs e)
{
System.IO.TextWriter tw;
tw = new StreamWriter("C:/Script.txt");
tw.WriteLine(textBox1.Text);
tw.Close();
}
© Stack Overflow or respective owner