Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected string cPROTOCOLO1 = "[" + "PROTOCOLO1" + "]";
- protected string cDOCS_PROTOCOLO1 = "[" + "DOCS_PROTOCOLO1" + "]";
- protected string cPROTOCOLO2 = "[" + "PROTOCOLO2" + "]";
- protected string cDOCS_PROTOCOLO2 = "[" + "DOCS_PROTOCOLO2" + "]";
- protected string cENTRE_OUTROS = "[" + "ENTRE_OUTROS" + "]";
- protected override DataTable criaESalvaArquivoCSV(List<IdentificationNumber> confirmadosParaReceber)
- {
- // colunas com nomes reservados:
- // FcDtec.DTEC_COLUNA_RESERVADA_ID_ORIGEM
- // FcDtec.DTEC_COLUNA_RESERVADA_ANEXO_1
- List<string> listaNomesColunas = new List<string>
- {
- cPROTOCOLO1.Replace("[",String.Empty).Replace("]",String.Empty),
- cDOCS_PROTOCOLO1.Replace("[",String.Empty).Replace("]",String.Empty),
- cPROTOCOLO2.Replace("[",String.Empty).Replace("]",String.Empty),
- cDOCS_PROTOCOLO2.Replace("[",String.Empty).Replace("]",String.Empty),
- cENTRE_OUTROS.Replace("[",String.Empty).Replace("]",String.Empty),
- FcDtec.DTEC_COLUNA_RESERVADA_ID_ORIGEM
- //,FcDtec.DTEC_COLUNA_RESERVADA_ANEXO_1 <-- Se tivesse roteiro padrão
- };
- DataTable listaBaseCSV = this.criaNovaTabelaParaCSV(listaNomesColunas);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement