hi, i just figured out how to write to a csv file form a textbox, i have the following code:
private void BtnOpslaan_Click(object sender, EventArgs e)
{
string[] lines = { textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text};
System.IO.File.WriteAllLines(@"C:\output.csv", lines);
}
but i was wondering how i can write to the same csv file from some other textboxes on another form. maby you know how i could fix this ;)
also i need to make the piece
(@"C:\output.csv", lines);
editable... so i can choose my own place where to place the file...