Hello,
I have a simple c# program that takes the user input in text box and then the contents are output to a file, very simple. The only problem I'm having is that I have about three columns and can't get the files to output in the format I want.
So here is what it looks like:
Colunm1 Colunm2 Colunm3
Label desc usr input box
Code:
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
{
string[] lines = { textBox1.Text, textBox3.Text, textBox7.Text };
System.IO.File.WriteAllLines(@"C:\TestFolder\Writeline.txt", lines);
}
So the above code works ok, but it only outputs colunm1 for label. How do I format the code so that the other two colunms and rows are output and aligned?