Hi, I'm trying to create folder name (serialno) from user input (GUI) in textbox and DataMonitoring and DataControlling output files will be save in the created folder.
public bool DataMonitoring(ref string returnmsg)
{
string folderName = String.Format(@"C:\DataOutput\{0}", serialno);
String DateAndTime = DateTime.Now.ToString("yyyy-MM-dd_HH.mm.ss");
FilePath = DateAndTime + "_DataMonitoring";
}
public bool DataControlling(ref string returnmsg)
{
string folderName = String.Format(@"C:\DataOutput\{0}", serialno);
String DateAndTime = DateTime.Now.ToString("yyyy-MM-dd_HH.mm.ss");
FilePath = DateAndTime + "_DataControlling";
}