M
microsoft.news.com
I have an app were i'm creating log files, but i want to give the log files
a distinctative names such as
Error_1/1/200512:30AM.log
how can I get the date/time in the file name? I tried this and it errors
out on me.
string strFileName = \\servername\\Error + "_" + System.DateTime.Now +
".log";
and it breaks, how can i get this working?
a distinctative names such as
Error_1/1/200512:30AM.log
how can I get the date/time in the file name? I tried this and it errors
out on me.
string strFileName = \\servername\\Error + "_" + System.DateTime.Now +
".log";
and it breaks, how can i get this working?