I\'m trying to save the contents of a textbox to a text file using Visual C#. I use the following code:
private void savelog_Click(object sender, EventArgs e
I think what you need is:
tw.WriteLine(logfiletextbox.Text);
if you don't say '.Text' that's what you get
Hope that helps!