quinta-feira, 19 de setembro de 2024

Json Deserialize - VIDEO 4136 - Webdev 2024 - Webdev - Ler Json Deserialize - 046

Json Deserialize - VIDEO 4136 - Webdev 2024 - Webdev - Ler Json Deserialize -  046





00:00:00 Introdução
00:00:07 Explicando 
00:00:17 Criando botao ler json 
00:00:27 Digitando codigo json deserialize 
00:02:07 Testar pagina 
00:02:17 Propagandas e Video Encerramento

Indice Geral
Indice Array 
Indice Jquery
Indice Json
Indice tabela


json_dados is string=[
{"cep":"93410130","cidade":"Novo Hamburgo","estado":"RS"}
]
STC_Json=json_dados
cep_estrutura is Structure
cep is string
cidade is string
estado is string
END
ler_cep_estrutura is cep_estrutura
Deserialize(ler_cep_estrutura,json_dados,psdJSON)
STC_Resultado="cep:"+ler_cep_estrutura.cep+CR
STC_Resultado+="cidade:"+ler_cep_estrutura.cidade+CR
STC_Resultado+="estado:"+ler_cep_estrutura.estado

------------------------------








==========================

Indice Geral Webdev
Indice Geral Windev
Indice Array 
Indice Combox
Indice Dicas De desenvolvimentos Pedidos
Indice JavaScript
Indice Jquery
Indice Json
Indice ListBox
Indice tabela

 

Indice Geral Windev

Indice Array 


Indice JavaScript
Indice Jquery 


Indice Json
Indice List Box

Indice Relatorio

Indice tabela
Indices Dicas De desenvolvimentos Pedido 







quarta-feira, 18 de setembro de 2024

FileToArray - VIDEO 4135 - Webdev 2024 - Webdev - FileToArray - 045

FileToArray - VIDEO 4135 - Webdev 2024 - Webdev - FileToArray -  045









material_estrutura is Structure 
materialId is int 
nome is string
quantidade is currency
END
linha_material_estrutura is material_estrutura 
array_material is array of material_estrutura
FileToArray(array_material,material)

TABLE_tabela.DeleteAll()
FOR EACH ELEMENT stlinha OF array_material
linha is int=TABLE_tabela.AddLine()
TABLE_tabela[linha].COL_Column1=stlinha.materialId
TABLE_tabela[linha].COL_Column2=stlinha.nome
TABLE_tabela[linha].COL_Column3=stlinha.quantidade
END




Json

tabela


00:00:00 Introdução
00:00:06 Criando botao filetoarray
00:00:21 Codigo filetoarray 
00:02:18 Testar pagina 
00:02:29 Propagandas e Video Encerramento






==========================

Indice Geral Webdev
Indice Geral Windev
Indice Array 
Indice Combox
Indice Dicas De desenvolvimentos Pedidos
Indice JavaScript
Indice Jquery
Indice Json
Indice ListBox
Indice tabela

 

Indice Geral Windev

Indice Array 


Indice JavaScript
Indice Jquery 


Indice Json
Indice List Box

Indice Relatorio

Indice tabela
Indices Dicas De desenvolvimentos Pedido 







segunda-feira, 16 de setembro de 2024

array sort composto - VIDEO 4134 - Webdev 2024 - Webdev - Array sort composto - 044

array sort composto - VIDEO 4134 - Webdev 2024 - Webdev - Array sort composto -  044








00:00:00 Introdução
00:00:07 Criando botao array sort composto 
00:00:18 Codigo array composto 
00:01:47 Testar pagina 
00:02:22 Propagandas e Video Encerramento



material_estrutura is Structure 
codigo is int 
nome is string
quantidade is currency 
END
linha_material_estrutura is material_estrutura 
array_material is array of material_estrutura
FOR EACH material 
linha_material_estrutura.codigo=material.materialID
linha_material_estrutura.nome=material.nome
linha_material_estrutura.quantidade=material.quantidade // novo
array_material.Add(linha_material_estrutura)
END
ArraySort(array_material,asMember,"quantidade;nome") // novo
TABLE_tabela.DeleteAll()
FOR EACH ELEMENT stlinha OF array_material
linha is int=TABLE_tabela.AddLine()
TABLE_tabela[linha].COL_Column1=stlinha.codigo
TABLE_tabela[linha].COL_Column2=stlinha.nome
TABLE_tabela[linha].COL_Column3=stlinha.quantidade // novo
END




==========================

Indice Geral Webdev
Indice Geral Windev
Indice Array 
Indice Combox
Indice Dicas De desenvolvimentos Pedidos
Indice JavaScript
Indice Jquery
Indice Json
Indice ListBox
Indice tabela

 

Indice Geral Windev

Indice Array 


Indice JavaScript
Indice Jquery 


Indice Json
Indice List Box

Indice Relatorio

Indice tabela
Indices Dicas De desenvolvimentos Pedido 







Teste

Teste
teste