<Data_Classification />
<Data_Classification></Data_Classification>
private static void printMessage(string strBody) { sring strPath =Convert.ToString(System.Configuration.ConfigurationSettings.AppSettings["PrintMsgPath"]); if(!Directory.Exists(strPath)) { Directory.CreateDirectory(strPath); } if (!File.Exists(strPath+"\\APMIRIS.xml")) { using (StreamWriter sw = File.CreateText(strPath+"\\APMIRIS.xml")) { sw.WriteLine(strBody); } } else { File.Delete(strPath+"\\APMIRIS.xml"); // using (StreamWriter sw1 = File.Delete(strPath+"\\APMIRIS.xml")) // { using (StreamWriter sw2 = File.CreateText(strPath+"\\APMIRIS.xml")) { sw2.WriteLine(strBody); } } }
<data_classification />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)