This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Informações sobre os estados e os CodigoEstado aqui: https://gist.github.com/CristianoRC/12032eb03e4d54b16090316c79b5a3f2 | |
[ | |
{ | |
"CODIGOESTADO": 11, | |
"NOME": "Alta Floresta D'Oeste" | |
}, | |
{ | |
"CODIGOESTADO": 11, | |
"NOME": "Ariquemes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Código: 11 | |
Sigla: RO | |
Nome: Rondonia | |
Código: 12 | |
Sigla: AC | |
Nome: Acre | |
Código: 13 | |
Sigla: AM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Código:4300034 | |
Código Estado:43 | |
Nome:Acegua | |
Código:4300059 | |
Código Estado:43 | |
Nome:Agua Santa | |
Código:4300109 | |
Código Estado:43 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DotCEP.Localidades.Estado.ObterNomeDoEstado("RS"); | |
DotCEP.Localidades.Estado.ObterCodigoDoEstado("RS"); | |
DotCEP.Localidades.Estado.ObterSiglaDoEstado("Rio Grande do Sul"); | |
DotCEP.Localidades.Estado.ObterListaDeEstados(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DotCEP.Localidades.Municipio.ObterCodigoDoMunicipio("Pelotas", DotCEP.UF.RS); | |
DotCEP.Localidades.Municipio.ObterInformacoesDoMunicipio(4314407); | |
DotCEP.Localidades.Municipio.ObterListaDeMunicipio(DotCEP.UF.RS); | |
DotCEP.Localidades.Municipio.ObterListaDeMunicipio(); | |
DotCEP.Localidades.Municipio.ObterNomeDoMunicipio(4314407); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DotCEP.Localidades.Estado.ObterNomeDoEstado(43) | |
Saída:Rio Grande do Sul | |
DotCEP.Localidades.Estado.ObterNomeDoEstado("SP") | |
Saída:Sao Paulo | |
DotCEP.Localidades.Estado.ObterCodigoDoEstado("RS") | |
Saída:43 | |
DotCEP.Localidades.Estado.ObterSiglaDoEstado(43) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DotCEP.Localidades.Estado.ObterListaDeEstados(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DotCEP.Localidades.Municipio.ObterListaDeMunicipio(); | |
DotCEP.Localidades.Municipio.ObterListaDeMunicipio(DotCEP.UF.RS); | |
DotCEP.Localidades.Municipio.ObterListaDeMunicipio("RS"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DotCEP.Localidades.Municipio.ObterCodigoDoMunicipio("Bom Jesus",DotCEP.UF.PI) | |
//Saída: 4302303 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DotCEP.Localidades.Municipio.ObterNomeDoMunicipio(3550308) | |
//Saída: São Paulo |
OlderNewer