Hi all,
I need to store some data in a txt file from a textbox.text.
I have try this and works:
FileInfo t = new FileInfo("data.txt");
StreamWriter Txt =t.CreateText();
Txt.WriteLine(textbox1.text);
Txt.Close();
But....
How can I create multiple files without delete the older one, e.g.,
Gives the name to the file like "current time and date".txt
This code is to use with a button click event.
Thanks a lot,
Chrom