コード例 #1
0
        //
        private void GravaMatrizInterconexoes()
        {
            // cria nome arquivo CSV
            String pathArquivo = _paramConexoesSE.getNomeEPathMatrizInterconexoesCSV();

            // Deleta arquivo se existir
            TxtFile.SafeDelete(pathArquivo);

            // escreve CSV
            File.WriteAllText(pathArquivo, _matrizInterconexao.ToString());

            //Grava planilha
            GravaExcel.CsvToExcel(pathArquivo, _paramConexoesSE.getNomeEPathMatrizInterconexoes(), ',', "Plan1", true);
        }