Hi,
I have a database table as expense with columns master and submaster.
Now i need to show this values in combobox. if the value in master is a submaster of any master then it should be added as sub item of that...I know no one understood this...so below is an example

Database:
Master Submaster
------- -----------
Rent Home Rent
Etisalat Abu Dhabi
Rent Office Rent
Etisalat Dubai
Office Rent Car Rent
Abu Dhabi Mobile
Abu Dhabi Landline


Now in combobox it should display as:
Rent
>Home Rent
>Office Rent
>Car Rent
Etisalat
>Abu Dhabi
>Mobile
>Landline
>Dubai

I hope I have cleared my problem...Please help if anyone can
Thanks in advance