PDA

View Full Version : How to can build a treegrid parent and child data from database query?



portalica_websiter
25 May 2011, 10:37 PM
Help me please,

I have data structure from database query like this:

COUNTRY REGION COUNT()
INA JAKARTA 5
INA SURABAYA 7
JPN TOKYO 12
JPN HIROSHIMA 2

Which,

PARENT CHILD
INA JAKARTA, SURABAYA
JPN TOKYO, HIROSHIMA

Is there a class that can generate tree-data from oracle query etc.?