private static void CreateFolders() { DataTable modules = Islemler.GetModules(); foreach (DataRow item in modules.Rows) { string FolderPath = Path + "\\" + ParentFolder + "\\" + item["FOLDER_NAME"]; bool exists = System.IO.Directory.Exists(FolderPath); if (!exists) { System.IO.Directory.CreateDirectory(FolderPath); } } }