[
{"Rows_warehouse":
[
{"warehouseid":"0","warehousename":"aaa"},
{"warehouseid":"9","warehousename":"bbb"},
{"warehouseid":"10","warehousename":"ccc"},
{"warehouseid":"12","warehousename":"ddd"}
]
},
{"Rows_product":
[
{"productid":"0","productname":"1111"}
,{"productid":"5","productname":"2222"}
,{"productid":"75","productname":"3333"}
]
}
]
I have json file above.
two comboBox (warehouse dropdown, product dropdown) use this json file.
But each comboBox read the same file respectively.
In other words, wwarehouse dropdown read the json and make the dropdowncombo and product dropdown read the same json and make the combo.
I think there is a better way that one read make more than 2 combo.
please help me.