I'm building application and I ran into a little problem. My application should show our workers, when they arrive to work and and where they headed. I have a datetime picker there and a every new day, when I fill out the application, it should create a new writeline, like this:
5th August Prague
6th August Pilsen etc...
I have only what I'm showing you and it creates a new textfile every time i try it. Please help.
This is all i have
        StreamWriter dc = new 
        StreamWriter(@"C:\Users\dejv2\Desktop\Program Test\Docházka\David 
        Cáder"+ "Docházka David Cáder.txt");          
        if (textBox1.Text == "David Cáder")
        {
            dc.WriteLine(dateTimePicker1.Text + " - David Cáder - " + 
        textBox56.Text);
        }
 
     
     
    